From cc306475b2e25932dbe92dd6a14ed59bec6298be Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Sat, 2 Mar 2013 16:26:02 +0000 Subject: [PATCH] Condensing code & fileMDT fallbacks Ternary expression to get same saveType results Create a new $filemtime var and set to 1000000 for non Linux systems We now have something to compare with (Tho will always be this on Windows etc) --- lib/file-control.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/file-control.php b/lib/file-control.php index 9bf46e1..7f84b14 100644 --- a/lib/file-control.php +++ b/lib/file-control.php @@ -1,8 +1,7 @@ top.ICEcoder.openFileMDTs[top.ICEcoder.selectedTab-1]="'.filemtime($file).'";'; + echo ''; // Reload file manager & rename tab if it was a new file if (isset($_POST['newFileName']) && $_POST['newFileName']!="") { echo '