Add session_start(); to app/edit before using the sessions.
This commit is contained in:
parent
583f68cff5
commit
ece076ed98
|
|
@ -232,6 +232,7 @@ echo "\n";
|
|||
echo " <TABLE BORDER=0 cellpadding='0' cellspacing='0'><TR><TD><a href='javascript:void(0);' onclick=\"if (typeof(clipwin)!='undefined') { clipwin.close(); } clipwin = window.open('fileoptions.php?folder=".urlencode($_SERVER["DOCUMENT_ROOT"])."','null','left=20,top=20,width=310,height=300,toolbar=0,resizable=0');\" style='text-decoration:none;' title=''><IMG SRC=\"images/folder.gif\" border='0'> ".$text['label-files']." </a><DIV style=''>\n"; //display:none
|
||||
//echo " <TABLE BORDER=0 cellpadding='0' cellspacing='0'><TR><TD><A onClick=\"Toggle(this)\"><IMG SRC=\"images/plus.gif\"> <IMG SRC=\"images/folder.gif\"> Files </A><DIV style=''>\n"; //display:none
|
||||
|
||||
session_start();
|
||||
if ($_SESSION["app"]["edit"]["dir"] == "scripts") {
|
||||
echo recur_dir($_SESSION['switch']['scripts']['dir']);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -229,6 +229,7 @@ echo " <TABLE BORDER=0 cellpadding='0' cellspacing='0'><TR><TD><IMG SRC=\"i
|
|||
//echo "</DIV></TD></TR></TABLE>\n";
|
||||
//echo "</DIV></TD></TR></TABLE>\n";
|
||||
|
||||
session_start();
|
||||
if ($_SESSION["app"]["edit"]["dir"] == "scripts") {
|
||||
echo recur_dir($_SESSION['switch']['scripts']['dir']);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue