ok
Direktori : /proc/thread-self/root/proc/self/root/proc/thread-self/root/usr/local/sitepad/www/ |
Current File : //proc/thread-self/root/proc/self/root/proc/thread-self/root/usr/local/sitepad/www/index.php |
<?php ////////////////////////////////////////////////////////////// //=========================================================== // SitePad Website Builder //=========================================================== // Inspired by the DESIRE to be the BEST OF ALL // ---------------------------------------------------------- // Date: 23rd Jan 2012 // Time: 21:00 hrs // Site: http://www.sitepad.com/ (SitePad) // ---------------------------------------------------------- // Please Read the Terms of use at http://www.sitepad.com // ---------------------------------------------------------- //=========================================================== // (c)Softaculous Ltd //=========================================================== ////////////////////////////////////////////////////////////// @define('SITEPAD', 1); // Is it the admin ? if(in_array($_SERVER['SERVER_PORT'], array('2087', 2086))){ include_once(dirname(dirname(__FILE__)).'/admin.php'); // Is it the enduser ? }elseif(in_array($_SERVER['SERVER_PORT'], array(2083, 2082, 443, 80))){ @define('SITEMUSHUSER', 1); header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1 header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past //cPanel recently enabled tweak setting(Use X-Frame-Options and X-Content-Type-Options headers) by default which blocks script tags which was causing issue to load the "top act" via index.auto.tmpl, hence to load "act top" we pass Content-Type: text/javascript if(@$_GET['act'] == 'top'){ header("Content-Type: text/javascript; charset=UTF-8"); }else{ header("Content-Type: text/html; charset=UTF-8"); } if(isset($_GET['act']) && $_GET['act'] == 'backups' && !empty($_GET['download']) && substr_count($_GET['download'], './') == 0){ header('Content-Disposition: attachment; filename="'.$_GET['download'].'"'); } include_once(dirname(dirname(__FILE__)).'/enduser.php'); }