mirror of
https://github.com/e107inc/e107.git
synced 2025-10-11 04:54:26 +02:00
Initial working files.
This commit is contained in:
27
includes/bootstrap.php
Normal file
27
includes/bootstrap.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
/**
|
||||
* e107 website system
|
||||
*
|
||||
* Copyright (C) 2008-2018 e107 Inc (e107.org)
|
||||
* Released under the terms and conditions of the
|
||||
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||
*
|
||||
*/
|
||||
/*
|
||||
$_E107 = array();
|
||||
$_E107['cli'] = true;
|
||||
$_E107['phpunit'] = true;
|
||||
$_E107['debug'] = true;*/
|
||||
|
||||
/*$basepath = realpath(dirname(__FILE__))."../../../";
|
||||
define('e_PHPUNIT', true);
|
||||
define('e_ROOT', $basepath);
|
||||
|
||||
// require_once($basepath."class2.php");
|
||||
*/
|
||||
|
||||
require_once("class2.php");
|
||||
// Solution: Set Custom Working Directory for PHPUNit Test.
|
||||
// eg. D:\Documents\UniServerZ\www\e107v2
|
||||
|
||||
|
Reference in New Issue
Block a user