mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-08-29 11:00:40 +08:00
14 lines
637 B
PHP
14 lines
637 B
PHP
|
<?php
|
||
|
/* bootstrap composer's autoloader */
|
||
|
require_once __DIR__.'/../../vendor/autoload.php';
|
||
|
global $sugar_config, $db;
|
||
|
require_once __DIR__ .'/../../include/utils.php';
|
||
|
require_once __DIR__ .'/../../include/modules.php';
|
||
|
require_once __DIR__ .'/../../include/entryPoint.php';
|
||
|
//Oddly entry point loads app_strings but not app_list_strings, manually do this here.
|
||
|
$GLOBALS['current_language'] = 'en_us';
|
||
|
$GLOBALS['app_list_strings'] = return_app_list_strings_language($GLOBALS['current_language']);
|
||
|
|
||
|
/* VERY BAD :-( - but for now at least tests are running */
|
||
|
$GLOBALS['sugar_config']['resource_management']['default_limit'] = 999999;
|