Bug fixes
This commit is contained in:
parent
e5a071e852
commit
a622aee43d
16
install.php
16
install.php
|
@ -49,18 +49,20 @@ function checkSystem()
|
||||||
$phpModules = get_loaded_extensions();
|
$phpModules = get_loaded_extensions();
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!file_exists(PATH_ROOT.'.htaccess'))
|
|
||||||
{
|
|
||||||
$errorText = 'Missing file, upload the file .htaccess (ERR_201)';
|
|
||||||
error_log($errorText, 0);
|
|
||||||
array_push($stdOut, $errorText);
|
|
||||||
}
|
|
||||||
|
|
||||||
if(!version_compare(phpversion(), '5.3', '>='))
|
if(!version_compare(phpversion(), '5.3', '>='))
|
||||||
{
|
{
|
||||||
$errorText = 'Current PHP version '.phpversion().', you need > 5.3. (ERR_202)';
|
$errorText = 'Current PHP version '.phpversion().', you need > 5.3. (ERR_202)';
|
||||||
error_log($errorText, 0);
|
error_log($errorText, 0);
|
||||||
array_push($stdOut, $errorText);
|
array_push($stdOut, $errorText);
|
||||||
|
|
||||||
|
return $stdOut;
|
||||||
|
}
|
||||||
|
|
||||||
|
if(!file_exists(PATH_ROOT.'.htaccess'))
|
||||||
|
{
|
||||||
|
$errorText = 'Missing file, upload the file .htaccess (ERR_201)';
|
||||||
|
error_log($errorText, 0);
|
||||||
|
array_push($stdOut, $errorText);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!in_array('dom', $phpModules))
|
if(!in_array('dom', $phpModules))
|
||||||
|
|
Loading…
Reference in New Issue