mirror of
https://github.com/e107inc/e107.git
synced 2025-08-07 23:26:41 +02:00
Extra check during install for mbstring functions.
This commit is contained in:
11
install.php
11
install.php
@@ -875,10 +875,11 @@ class e_install
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
$extensionCheck = array(
|
$extensionCheck = array(
|
||||||
'xml' => array('label'=> LANINS_050, 'status'=> function_exists('utf8_encode'), 'url'=> 'http://php.net/manual/en/ref.xml.php'),
|
'xml' => array('label'=> LANINS_050, 'status' => function_exists('utf8_encode'), 'url'=> 'http://php.net/manual/en/ref.xml.php'),
|
||||||
'exif' => array('label'=> LANINS_048, 'status'=> function_exists('exif_imagetype'), 'url'=> 'http://php.net/manual/en/book.exif.php'),
|
'exif' => array('label'=> LANINS_048, 'status' => function_exists('exif_imagetype'), 'url'=> 'http://php.net/manual/en/book.exif.php'),
|
||||||
'gd' => array('label'=> 'GD Library', 'status'=> function_exists('gd_info'), 'url'=> 'http://php.net/manual/en/book.image.php'),
|
'curl' => array('label'=> 'Curl Library', 'status' => function_exists('curl_version'), 'url'=> 'http://php.net/manual/en/book.curl.php'),
|
||||||
'curl' => array('label'=>'Curl Library', 'status'=> function_exists('curl_version'), 'url'=>'http://php.net/manual/en/book.curl.php')
|
'gd' => array('label'=> 'GD Library', 'status' => function_exists('gd_info'), 'url'=> 'http://php.net/manual/en/book.image.php'),
|
||||||
|
'mb' => array('label'=> 'MB String Library', 'status' => function_exists('mb_strimwidth'), 'url'=> 'http://php.net/manual/en/book.mbstring.php'),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
@@ -1971,6 +1972,8 @@ function create_tables_unattended()
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$mySQLserver = null;
|
||||||
|
|
||||||
if(file_exists('e107_config.php'))
|
if(file_exists('e107_config.php'))
|
||||||
{
|
{
|
||||||
@include('e107_config.php');
|
@include('e107_config.php');
|
||||||
|
Reference in New Issue
Block a user