own3mall 8 лет назад
Родитель
Сommit
6c22afa8aa
2 измененных файлов с 7 добавлено и 1 удалено
  1. 6 0
      includes/functions.php
  2. 1 1
      install.php

+ 6 - 0
includes/functions.php

@@ -836,4 +836,10 @@ function preReqInstalled($prereq){
 	}
 	return false;
 }
+
+if (!function_exists('boolval')) {
+	function boolval($val) {
+		return (bool) $val;
+	}
+}
 ?>

+ 1 - 1
install.php

@@ -81,7 +81,7 @@ if ( !isset($_SESSION['users_lang']) )
 if ( isset($_GET['localeset']) )
     $_SESSION['users_lang'] = $_GET['localeset'];
 
-define("REQUIRED_PHP_VERSION", "5.5");
+define("REQUIRED_PHP_VERSION", "5.3");
 
 require_once("includes/helpers.php");
 require_once("includes/view.php");