Gentics Portal.Node PHP API
 All Classes Namespaces Functions Variables Pages
bootstrap.php
1 <?php
2 /**
3  * Gentics Portal.Node PHP
4  * Author & Copyright (c) by Gentics Software GmbH
5  * sales@gentics.com
6  * http://www.gentics.com
7  * Licenses can be found in the LICENSE.txt file in the root-folder of this installation
8  * You must not use this software without a valid license agreement.
9  */
10 
11 // change the following paths if necessary
12 $yiit = dirname(__FILE__) . '/../framework/yiit.php';
13 $config=dirname(__FILE__).'/config/main.php';
14 
15 defined('YII_DEBUG') or define('YII_DEBUG',true);
16 
17 require_once($yiit);
18 $path = dirname(__FILE__).'/GWebTestCase.php';
19 
20 require_once($path);
21 require_once dirname(dirname(__FILE__)).'/common/extensions/goutte.phar';
22 Yii::createWebApplication($config);