Update and rename filerename.php to file_rename.php

This commit is contained in:
FusionPBX 2019-08-21 01:21:21 -06:00 committed by GitHub
parent 592ed06597
commit 1a88ca61a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -25,6 +25,9 @@
James Rose <james.o.rose@gmail.com>
*/
//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