Browse Source

Update and rename filerename.php to file_rename.php

FusionPBX 6 years ago
parent
commit
103cb9a32c
1 changed files with 4 additions and 1 deletions
  1. 4 1
      file_rename.php

+ 4 - 1
filerename.php → file_rename.php

@@ -25,6 +25,9 @@
 	James Rose <[email protected]>
 */
 
+//disable this feature
+	exit;
+
 //includes
 	include "root.php";
 	require_once "resources/require.php";
@@ -65,7 +68,7 @@
 		//echo "folder: ".$folder."<br>";
 		//echo "orig filename: ".$filename."<br>";;
 		rename($folder.$filename, $folder.$newfilename);
-		header("Location: fileoptions.php");
+		header("Location: file_options.php");
 	}
 	else {
 		//create the token