tao-test/app/taoMediaManager/includes/raw_start.php

17 lines
455 B
PHP
Raw Permalink Normal View History

2022-08-29 20:14:13 +02:00
<?php
/**
* RAW Bootstraping
*
* @author CRP Henri Tudor - TAO Team - {@link http://www.tao.lu}
* @license GPLv2 http://www.opensource.org/licenses/gpl-2.0.php
*/
if (PHP_SAPI == 'cli') {
$_SERVER['HTTP_HOST'] = 'http://localhost';
$_SERVER['DOCUMENT_ROOT'] = dirname(__FILE__) . '/../../..';
}
require_once dirname(__FILE__) . '/../../tao/includes/class.Bootstrap.php';
$bootStrap = new BootStrap('taoMediaManager');
$bootStrap->start();