瀏覽代碼

Feature #272 - Installation scripts: Testing the protection, correction again.

Ivan Tcholakov 15 年之前
父節點
當前提交
a7ef238411
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      main/install/install.lib.php

+ 0 - 4
main/install/install.lib.php

@@ -43,10 +43,6 @@ function is_already_installed_system() {
 		return true; // Must be initialized.
 	}
 
-	if (is_array($_POST) && count($_POST) > 0) {
-		return false; // Running installation.
-	}
-
 	$current_config_file = str_replace('\\', '/', realpath('../inc/conf/configuration.php'));
 	if (!file_exists($current_config_file)) {
 		return false; // Configuration file does not exist, install the system.