Use relative path for renaming install.php

This commit is contained in:
KIKUCHI Koichiro 2015-11-12 22:02:11 +09:00
parent 264053676d
commit 0038e7c6e6
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ if ($develop_bypass != 1) {
if (isset($_POST["rename_file"])){
$rename_file_install = (bool)$_POST["rename_file"];
if ($rename_file_install) {
$salida_rename = rename("/var/www/html/pandora_console/install.php", "/var/www/html/pandora_console/install_old.php");
$salida_rename = rename("install.php", "install_old.php");
}
}