-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBootstrap.php
More file actions
19 lines (16 loc) · 732 Bytes
/
Copy pathBootstrap.php
File metadata and controls
19 lines (16 loc) · 732 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
error_reporting(E_ALL | E_STRICT);
define('CLASS_DIR','/var/www/prestashop/classes');
define ('CONFIG_DIR','/var/www/prestashop/config');
define('PHPUNIT_DIR','/usr/share/php/PHPUnit34/usr/share/php/PHPUnit');//version 3.4
define('TEST_DIR','/var/www/prestashop/modules/firstPrestaModule');
set_include_path (get_include_path().PATH_SEPARATOR . CLASS_DIR);
set_include_path (get_include_path().PATH_SEPARATOR . CONFIG_DIR);
set_include_path (get_include_path().PATH_SEPARATOR . PHPUNIT_DIR);
set_include_path (get_include_path().PATH_SEPARATOR . TEST_DIR);
/**
* Any other component that registers an autoloader unregisters the default __autoload().
*
*/
require_once 'autoload.php';
spl_autoload_register('__autoload');