Remove bootstrap calls

This commit is contained in:
Romain Neutron
2012-02-27 15:33:56 +01:00
parent 47efcba548
commit dc410932d3
3 changed files with 6 additions and 9 deletions

View File

@@ -7,7 +7,6 @@ use Symfony\Component\HttpFoundation\Request;
use Alchemy\Phrasea\Controller\Setup as Controller; use Alchemy\Phrasea\Controller\Setup as Controller;
use Alchemy\Phrasea\Controller\Utils as ControllerUtils; use Alchemy\Phrasea\Controller\Utils as ControllerUtils;
require_once __DIR__ . '/../../../../../bootstrap.php';
return call_user_func(function() return call_user_func(function()
{ {

View File

@@ -7,7 +7,6 @@ use Symfony\Component\HttpFoundation\Request;
use Alchemy\Phrasea\Controller\Setup as Controller; use Alchemy\Phrasea\Controller\Setup as Controller;
use Alchemy\Phrasea\Controller\Utils as ControllerUtils; use Alchemy\Phrasea\Controller\Utils as ControllerUtils;
require_once __DIR__ . '/../../../../../bootstrap.php';
return call_user_func(function() return call_user_func(function()
{ {

View File

@@ -1,6 +1,5 @@
<?php <?php
require_once __DIR__ . '/../../bootstrap.php';
$include_path = realpath(__DIR__ . '/../../vendor/'); $include_path = realpath(__DIR__ . '/../../vendor/');
if(strpos(get_include_path(), $include_path) === false) if(strpos(get_include_path(), $include_path) === false)