From 25a05027b55813fec89ff4cd9d17d72de88c48b7 Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Thu, 23 Feb 2012 18:11:50 +0000 Subject: [PATCH] Save As added to file control system saveType var passed through on saving to start a save or save as routine --- lib/file-control.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/file-control.php b/lib/file-control.php index ce0c0ee..e30ecea 100644 --- a/lib/file-control.php +++ b/lib/file-control.php @@ -3,6 +3,7 @@ // Establish the full file path reference $file=$_GET['file']; +if (isset($_GET['saveType'])) {$saveType = $_GET['saveType'];}; $docRoot = str_replace("\\","/",$_SERVER['DOCUMENT_ROOT']); // Not done the first time we are on the save loop (ie, before the form posting reload) @@ -167,7 +168,7 @@ if (action=="load") {