From 45a24a2781da642fa5ff03c83c560435c5e6eefc Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sun, 11 Dec 2016 22:53:19 -0700 Subject: [PATCH] Update filelist.php --- app/edit/filelist.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/edit/filelist.php b/app/edit/filelist.php index 8ee59f80a8..2b90bf9c31 100644 --- a/app/edit/filelist.php +++ b/app/edit/filelist.php @@ -198,7 +198,7 @@ echo "
\n"; //start the session ini_set("session.cookie_httponly", True); -session_start(); +if (!isset($_SESSION)) { session_start(); } switch ($_SESSION["app"]["edit"]["dir"]) { case 'scripts': echo recur_dir($_SESSION['switch']['scripts']['dir']); @@ -242,4 +242,4 @@ unset ($result); unset ($key); unset ($val); unset ($c); -?> \ No newline at end of file +?>