25 lines
893 B
PHP
25 lines
893 B
PHP
<?php
|
|
|
|
error_reporting(E_ALL & ~E_NOTICE);
|
|
@session_start();
|
|
|
|
if (isset($_SESSION['neoCMSSess']) && strstr($_SESSION['neoCMSSess'], 'neoCMSsession')) {
|
|
|
|
include_once('createsession.php');
|
|
|
|
if (isset($_SESSION['neoCMSUserid'])) {
|
|
|
|
$_SESSION['neoCMSHTML'] = $gethtml = "";
|
|
$_SESSION['neoCMSPath'] = $getpath = "cms";
|
|
$_SESSION['neoCMSFiles'] = $getfile = 1;
|
|
$_SESSION['neoCMSFilePath'] = $getfilepath = "files";
|
|
$_SESSION['neoCMSImagePath'] = $getimagepath = "images";
|
|
$_SESSION['neoCMSExFolders'] = $getexfolders = "ext";
|
|
$_SESSION['neoCMSLatest'] = $_GET['neoCMSLatest'];
|
|
|
|
$script = '<script type="text/javascript">window.top.window.getGlobals("' . $getpath . '", "' . $gethtml . '", "' . $getfile . '", "' . $getfilepath . '", "' . $getexfolders . '", "' . $getimagepath . '");</script>';
|
|
echo $script;
|
|
|
|
}
|
|
|
|
} |