Skip to content
Permalink
Browse files Browse the repository at this point in the history
Update and rename filerename.php to file_rename.php
  • Loading branch information
markjcrane committed Aug 21, 2019
1 parent 592ed06 commit 1a88ca6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/edit/filerename.php → app/edit/file_rename.php
Expand Up @@ -25,6 +25,9 @@
James Rose <james.o.rose@gmail.com>
*/

//disable this feature
exit;

//includes
include "root.php";
require_once "resources/require.php";
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1a88ca6

Please sign in to comment.