We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e3f9af commit 6946b7cCopy full SHA for 6946b7c
main/install/ajax.php
@@ -27,6 +27,13 @@
27
require_once api_get_path(LIBRARY_PATH).'database.constants.inc.php';
28
require_once 'install.lib.php';
29
30
+// A protection measure for already installed systems.
31
+if (isAlreadyInstalledSystem()) {
32
+ // The system has already been installed, so block re-installation.
33
+ echo "Chamilo has already been installed";
34
+ exit;
35
+}
36
+
37
$action = isset($_POST['a']) ? $_POST['a'] : null;
38
39
$dbHost = isset($_POST['db_host']) ? $_POST['db_host'] : 'localhost';
0 commit comments