GRAYBYTE WORDPRESS FILE MANAGER9188

Server IP : 149.255.58.128 / Your IP : 216.73.216.193
System : Linux cloud516.thundercloud.uk 5.14.0-427.26.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:51:13 EDT 2024 x86_64
PHP Version : 8.2.28
Disable Function : allow_url_include, apache_child_terminate, apache_setenv, exec, passthru, pcntl_exec, posix_kill, posix_mkfifo, posix_getpwuid, posix_setpgid, posix_setsid, posix_setuid, posix_setgid, posix_seteuid, posix_setegid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, shell_exec, show_source, system
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /var/softaculous/zen/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /var/softaculous/zen//index.php
<?php

/**
 * root script for Zenphoto
 * @package zpcore
 *
 */
if (!defined('OFFSET_PATH'))
	die(); //	no direct linking

$_zp_script_timer['start'] = microtime();
// force UTF-8 Ø
require_once(dirname(__FILE__) . '/global-definitions.php');
require_once(dirname(__FILE__) . '/functions/functions.php');
zp_apply_filter('feature_plugin_load');
if (DEBUG_PLUGINS) {
	debugLog('Loading the "feature" plugins.');
}
foreach (getEnabledPlugins() as $extension => $plugin) {
	$loadtype = $plugin['priority'];
	if ($loadtype & FEATURE_PLUGIN) {
		if (DEBUG_PLUGINS) {
			list($usec, $sec) = explode(" ", microtime());
			$start = (float) $usec + (float) $sec;
		}
		require_once($plugin['path']);
		if (DEBUG_PLUGINS) {
			pluginDebug($extension, $priority, $start);
		}
		$_zp_loaded_plugins[$extension] = $extension;
	}
}

require_once(SERVERPATH . "/" . ZENFOLDER . '/functions/functions-rewrite.php');
require_once(dirname(__FILE__) . '/template-functions.php');
checkInstall();
if (MOD_REWRITE || isset($_GET['z']))
	rewriteHandler();

//$_zp_script_timer['require'] = microtime();
/**
 * Invoke the controller to handle requests
 */
require_once(SERVERPATH . "/" . ZENFOLDER . '/functions/functions-controller.php');
require_once(SERVERPATH . "/" . ZENFOLDER . '/controller.php');

$_index_theme = $_zp_script = '';
$_zp_page_check = 'checkPageValidity';
//$_zp_script_timer['controller'] = microtime();
// Display an arbitrary theme-included PHP page
if (isset($_GET['p'])) {
	$_index_theme = prepareCustomPage();
// Display an Image page.
} else if (in_context(ZP_IMAGE)) {
	$_index_theme = prepareImagePage();
// Display an Album page.
} else if (in_context(ZP_ALBUM)) {
	$_index_theme = prepareAlbumPage();
	// Display the Index page.
} else if (in_context(ZP_INDEX)) {
	$_index_theme = prepareIndexPage();
} else {
	$_index_theme = setupTheme();
}

//$_zp_script_timer['theme setup'] = microtime();
$_zp_script = zp_apply_filter('load_theme_script', $_zp_script, $_zp_request);

$custom = SERVERPATH . '/' . THEMEFOLDER . '/' . internalToFilesystem($_index_theme) . '/functions.php';
if (file_exists($custom)) {
	require_once($custom);
} else {
	$custom = false;
}

//	Load the THEME plugins
if (!preg_match('~' . ZENFOLDER . '~', $_zp_script)) {
	if (DEBUG_PLUGINS) {
		debugLog('Loading the "theme" plugins.');
	}
	foreach (getEnabledPlugins() as $extension => $plugin) {
		$loadtype = $plugin['priority'];
		if ($loadtype & THEME_PLUGIN) {
			if (DEBUG_PLUGINS) {
				list($usec, $sec) = explode(" ", microtime());
				$start = (float) $usec + (float) $sec;
			}
			require_once($plugin['path']);
			if (DEBUG_PLUGINS) {
				pluginDebug($extension, $priority, $start);
			}
			$_zp_loaded_plugins[$extension] = $extension;
			//		$_zp_script_timer['load '.$extension] = microtime();
		}
	}
}

//	HTML caching?
if ($_zp_request) {
	$_zp_html_cache->startHTMLCache();
}

//check for valid page number (may be theme dependent!)
if ($_zp_page < 0) {
	$_zp_request = false;
} else if ($_zp_request && $_zp_page > 1) {
	$_zp_request = $_zp_page_check($_zp_request, $_zp_gallery_page, $_zp_page);
}

//$_zp_script_timer['theme scripts'] = microtime();
if ($_zp_request && $_zp_script && file_exists($_zp_script = SERVERPATH . "/" . internalToFilesystem($_zp_script))) {
	if (checkAccess($hint, $show)) { // ok to view
	} else {
		//	don't cache the logon page or you can never see the real one
		$_zp_html_cache->abortHTMLCache();
		$_zp_gallery_page = 'password.php';
		$_zp_script = SERVERPATH . '/' . THEMEFOLDER . '/' . $_index_theme . '/password.php';
		if (!file_exists(internalToFilesystem($_zp_script))) {
			$_zp_script = SERVERPATH . '/' . ZENFOLDER . '/password.php';
		}
	}
	// Include the appropriate page for the requested object, and a 200 OK header.
	header('Content-Type: text/html; charset=' . LOCAL_CHARSET);
	header("HTTP/1.0 200 OK");
	header("Status: 200 OK");
	header('Last-Modified: ' . ZP_LAST_MODIFIED);
	zp_apply_filter('theme_headers');
	include(internalToFilesystem($_zp_script));
} else {
	// If the requested object does not exist, issue a 404 and redirect to the 404.php
	// in the zp-core folder. This script will load the theme 404 page if it exists.
	$_zp_html_cache->abortHTMLCache();
	include(SERVERPATH . "/" . ZENFOLDER . '/404.php');
}
//$_zp_script_timer['theme script load'] = microtime();
zp_apply_filter('zenphoto_information', $_zp_script, $_zp_loaded_plugins, $_index_theme);
//$_zp_script_timer['expose information'] = microtime();
$_zp_db->close(); // close the database as we are done
echo "\n";
list($usec, $sec) = explode(' ', array_shift($_zp_script_timer));
$first = $last = (float) $usec + (float) $sec;
$_zp_script_timer['end'] = microtime();
foreach ($_zp_script_timer as $step => $time) {
	list($usec, $sec) = explode(" ", $time);
	$cur = (float) $usec + (float) $sec;
	printf("<!-- " . gettext('Zenphoto script processing %1$s:%2$.4f seconds') . " -->\n", $step, $cur - $last);
	$last = $cur;
}
if (count($_zp_script_timer) > 1)
	printf("<!-- " . gettext('Zenphoto script processing total:%.4f seconds') . " -->\n", $last - $first);
$_zp_html_cache->endHTMLCache();
?>

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
May 23 2025 09:37:16
0 / root
0755
images
--
May 09 2025 09:37:14
0 / root
0755
php53
--
May 09 2025 09:37:14
0 / root
0755
php56
--
May 09 2025 09:37:14
0 / root
0755
php71
--
May 09 2025 09:37:14
0 / root
0755
php81
--
May 09 2025 09:37:14
0 / root
0755
php82
--
May 09 2025 09:37:14
0 / root
0755
upgrade
--
May 09 2025 09:37:14
0 / root
0755
.htaccess
0.615 KB
December 23 2021 06:54:36
0 / root
0644
NOTES.TXT
2.028 KB
December 14 2022 03:47:26
0 / root
0644
_.htaccess
0.19 KB
December 23 2021 06:54:36
0 / root
0644
_index.php
5.163 KB
December 26 2023 05:00:46
0 / root
0644
check_utf8.php
2.361 KB
March 13 2024 01:46:46
0 / root
0644
clone.php
6.738 KB
May 07 2025 07:30:12
0 / root
0644
edit.php
4.787 KB
May 07 2025 07:30:12
0 / root
0644
edit.xml
0.423 KB
December 23 2021 06:54:36
0 / root
0644
favicon.ico
1.373 KB
December 23 2021 06:54:36
0 / root
0644
fileindex.php
0.199 KB
December 23 2021 06:54:36
0 / root
0644
import.php
3.414 KB
May 07 2025 07:30:12
0 / root
0644
index.php
5.01 KB
December 26 2023 05:00:46
0 / root
0644
info.xml
4.611 KB
May 07 2025 06:39:06
0 / root
0644
install.js
0.902 KB
December 23 2021 06:54:36
0 / root
0644
install.php
10.791 KB
May 07 2025 07:30:12
0 / root
0644
install.xml
1.609 KB
October 24 2024 03:06:22
0 / root
0644
md5
2.288 KB
May 07 2025 07:30:12
0 / root
0644
robots.txt
0.547 KB
December 23 2021 06:54:36
0 / root
0644
upgrade.php
9.271 KB
May 07 2025 07:30:12
0 / root
0644
upgrade.xml
0.271 KB
December 14 2022 03:47:26
0 / root
0644
zenphoto.cfg.php
4.413 KB
December 14 2022 03:47:26
0 / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF