[Openfirst-cvscommit] members workspace.php,1.7,1.8
Brought to you by:
xtimg
From: <xt...@us...> - 2003-08-20 15:27:39
|
Update of /cvsroot/openfirst/members In directory sc8-pr-cvs1:/tmp/cvs-serv23653 Modified Files: workspace.php Log Message: Fix errors in setting file path Index: workspace.php =================================================================== RCS file: /cvsroot/openfirst/members/workspace.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** workspace.php 20 Aug 2003 15:17:27 -0000 1.7 --- workspace.php 20 Aug 2003 15:25:28 -0000 1.8 *************** *** 29,35 **** ! if(isset($_GET["filepath"]) == true && $_GET["filepath"] == "") { $filepath = "/"; } else { $filepath = $_GET["filepath"]; } if(isset($_POST["filepath"]) == true && $_POST["filepath"] != "") { $filepath = $_POST["filepath"]; } ! if(isset($filepath) == false || $filepath = "") { $filepath = "/"; } // Get important data used throughout this. --- 29,35 ---- ! if(isset($_GET["filepath"]) == true && $_GET["filepath"] != "") { $filepath = $_GET["filepath"]; } if(isset($_POST["filepath"]) == true && $_POST["filepath"] != "") { $filepath = $_POST["filepath"]; } ! if(isset($filepath) == false || $filepath == "") { $filepath = "/"; } // Get important data used throughout this. *************** *** 124,128 **** } ! if($filepath =="/") { deldir($ws->virtfspath . $_GET["directory"]); } else { --- 124,128 ---- } ! if($filepath == "/") { deldir($ws->virtfspath . $_GET["directory"]); } else { |