You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Secured installer so that it is disabled by default. You now have to rename the installer.disabled file to installer.enabled in order for the installer to work.
Copy file name to clipboardExpand all lines: installer.php
+13-1
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,11 @@
1
1
<?php
2
+
// Change this
2
3
require_once('PEAR.php');
4
+
if ( !file_exists('installer.enabled') ){
5
+
die("The installer is currently disabled. To enable it, please rename the 'installer.disabled' file to 'installer.enabled'. You can find this file inside the root xataface directory.");
6
+
7
+
}
8
+
3
9
if ( !defined('FILE_APPEND') ){
4
10
define('FILE_APPEND', 1);
5
11
}
@@ -409,6 +415,9 @@ function db2app__process($values){
0 commit comments