ini_set('include_path', '.' . PATH_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'packages' . PATH_SEPARATOR . '..');
// make sure the memory_limit is at least 512 MB
$memLimitString = trim(ini_get('memory_limit'));
ini_set('include_path', '.' . PATH_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'packages' . PATH_SEPARATOR . '..');
// make sure the memory_limit is at least 512 MB
$memLimitString = trim(ini_get('memory_limit'));
-$memLimitUnit = strtolower(substr($memLimitString, -1));
-$memLimit = (int) $memLimitString;
+$memLimitUnit = strtolower(substr($memLimitString, -1));
+$memLimit = (int) $memLimitString;
- '../CRM/Core/DAO/', // $CoreDAOCodePath
- '../sql/', // $sqlCodePath
- '../', // $phpCodePath
- '../templates/', // $tplCodePath
- array('../packages/Smarty/plugins', '../CRM/Core/Smarty/plugins'), // smarty plugin dirs
- @$argv[3], // cms
- empty($argv[2]) ? NULL : $argv[2], // db version
- empty($argv[1]) ? 'schema/Schema.xml' : $argv[1], // schema file
+ '../CRM/Core/DAO/', // $CoreDAOCodePath
+ '../sql/', // $sqlCodePath
+ '../', // $phpCodePath
+ '../templates/', // $tplCodePath
+ array('../packages/Smarty/plugins', '../CRM/Core/Smarty/plugins'), // smarty plugin dirs
+ @$argv[3], // cms
+ empty($argv[2]) ? NULL : $argv[2], // db version
+ empty($argv[1]) ? 'schema/Schema.xml' : $argv[1], // schema file