bootstrap.php in Loft Data Grids 6.2
File
vendor/phpoffice/phpexcel/unitTests/bootstrap.php
View source
<?php
chdir(dirname(__FILE__));
setlocale(LC_ALL, 'en_US.utf8');
date_default_timezone_set('Europe/London');
defined('APPLICATION_PATH') || define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../Classes'));
defined('APPLICATION_TESTS_PATH') || define('APPLICATION_TESTS_PATH', realpath(dirname(__FILE__)));
defined('APPLICATION_ENV') || define('APPLICATION_ENV', 'ci');
set_include_path(implode(PATH_SEPARATOR, array(
realpath(APPLICATION_PATH . '/../Classes'),
'./',
dirname(__FILE__),
get_include_path(),
)));
echo "PHPExcel tests beginning\n";
if (extension_loaded('xdebug')) {
echo "Xdebug extension loaded and running\n";
xdebug_enable();
}
else {
echo 'Xdebug not found, you should run the following at the command line: echo "zend_extension=/usr/lib64/php/modules/xdebug.so" > /etc/php.d/xdebug.ini' . "\n";
}