1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-11 08:06:49 +02:00

Fixed possible fatal error in e107Test

This commit is contained in:
Nick Liu 2018-09-11 16:14:01 -05:00
parent 0fca5840f2
commit 11448a4a9f
No known key found for this signature in database
GPG Key ID: 1167C5F9C9897637

@ -39,7 +39,7 @@
public function testInitCore()
{
//$res = null;
require(APP_PATH.'e107_config.php'); // contains $E107_CONFIG = array('site_path' => '000000test');
include(APP_PATH.'/e107_config.php'); // contains $E107_CONFIG = array('site_path' => '000000test');
$e107_paths = compact('ADMIN_DIRECTORY', 'FILES_DIRECTORY', 'IMAGES_DIRECTORY', 'THEMES_DIRECTORY', 'PLUGINS_DIRECTORY', 'HANDLERS_DIRECTORY', 'LANGUAGES_DIRECTORY', 'HELP_DIRECTORY', 'DOWNLOADS_DIRECTORY','UPLOADS_DIRECTORY','SYSTEM_DIRECTORY', 'MEDIA_DIRECTORY','CACHE_DIRECTORY','LOGS_DIRECTORY', 'CORE_DIRECTORY', 'WEB_DIRECTORY');
$sql_info = compact('mySQLserver', 'mySQLuser', 'mySQLpassword', 'mySQLdefaultdb', 'mySQLprefix', 'mySQLport');