PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 2.2.0
Visualizer – Tables & Charts Manager with Built-in AI Generator v2.2.0
4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.2 3.1.3 3.10.0 3.10.1 3.10.10 3.10.11 3.10.12 3.10.13 3.10.14 3.10.15 3.10.2 3.10.3 All 149 releases
visualizer / vendor / phpoffice / phpexcel / unitTests / bootstrap.php

bootstrap.php in Visualizer – Tables & Charts Manager with Built-in AI Generator 2.2.0, at vendor/phpoffice/phpexcel/unitTests/bootstrap.php

50 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * $Id: bootstrap.php 2892 2011-08-14 15:11:50Z markbaker@phpexcel.net $
4 *
5 * @copyright Copyright (C) 2011-2014 PHPExcel. All rights reserved.
6 * @package PHPExcel
7 * @subpackage PHPExcel Unit Tests
8 * @author Mark Baker
9 */
10
11 chdir(dirname(__FILE__));
12
13 setlocale(LC_ALL, 'en_US.utf8');
14
15 // PHP 5.3 Compat
16 date_default_timezone_set('Europe/London');
17
18 // Define path to application directory
19 defined('APPLICATION_PATH')
20 || define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../Classes'));
21
22 // Define path to application tests directory
23 defined('APPLICATION_TESTS_PATH')
24 || define('APPLICATION_TESTS_PATH', realpath(dirname(__FILE__) ));
25
26 // Define application environment
27 defined('APPLICATION_ENV') || define('APPLICATION_ENV', 'ci');
28
29 // Ensure library/ is on include_path
30 set_include_path(implode(PATH_SEPARATOR, array(
31 realpath(APPLICATION_PATH . '/../Classes'),
32 './',
33 dirname(__FILE__),
34 get_include_path(),
35 )));
36
37
38 /**
39 * @todo Sort out xdebug in vagrant so that this works in all sandboxes
40 * For now, it is safer to test for it rather then remove it.
41 */
42 echo "PHPExcel tests beginning\n";
43
44 if(extension_loaded('xdebug')) {
45 echo "Xdebug extension loaded and running\n";
46 xdebug_enable();
47 } else {
48 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";
49 }
50