diff options
Diffstat (limited to 'net-mgmt/pandorafms_console/files/patch-index.php')
-rw-r--r-- | net-mgmt/pandorafms_console/files/patch-index.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-mgmt/pandorafms_console/files/patch-index.php b/net-mgmt/pandorafms_console/files/patch-index.php new file mode 100644 index 000000000000..0b82b63997ac --- /dev/null +++ b/net-mgmt/pandorafms_console/files/patch-index.php @@ -0,0 +1,11 @@ +--- index.php ++++ index.php +@@ -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"); + } + } + |