mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-05 12:48:00 +02:00
Update install.php
This commit is contained in:
@@ -29,6 +29,7 @@
|
|||||||
// Get site URL
|
// Get site URL
|
||||||
$site_url = 'http://'.$_SERVER["SERVER_NAME"].str_replace(array("index.php", "install.php"), "", $_SERVER['PHP_SELF']);
|
$site_url = 'http://'.$_SERVER["SERVER_NAME"].str_replace(array("index.php", "install.php"), "", $_SERVER['PHP_SELF']);
|
||||||
|
|
||||||
|
// Rewrite base
|
||||||
$rewrite_base = str_replace(array("index.php", "install.php"), "", $_SERVER['PHP_SELF']);
|
$rewrite_base = str_replace(array("index.php", "install.php"), "", $_SERVER['PHP_SELF']);
|
||||||
|
|
||||||
// Errors array
|
// Errors array
|
||||||
@@ -83,7 +84,8 @@
|
|||||||
'slogan' => __('Site slogan', 'system'),
|
'slogan' => __('Site slogan', 'system'),
|
||||||
'defaultpage' => 'home',
|
'defaultpage' => 'home',
|
||||||
'timezone' => Request::post('timezone'),
|
'timezone' => Request::post('timezone'),
|
||||||
'theme_name' => 'default'));
|
'theme_site_name' => 'default',
|
||||||
|
'theme_admin_name' => 'default'));
|
||||||
|
|
||||||
|
|
||||||
// Get users table
|
// Get users table
|
||||||
@@ -183,6 +185,7 @@
|
|||||||
} else {
|
} else {
|
||||||
$errors['php'] = '';
|
$errors['php'] = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (in_array('SimpleXML', $php_modules)) {
|
if (in_array('SimpleXML', $php_modules)) {
|
||||||
$errors['simplexml'] = '';
|
$errors['simplexml'] = '';
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user