mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33:15 +00:00
Fix new path w/ composer
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
require_once dirname(__FILE__) . '/../../../PhraseanetPHPUnitAuthenticatedAbstract.class.inc';
|
||||
require_once dirname(__FILE__) . '/../../Bridge_datas.inc';
|
||||
|
||||
$new_include_path = dirname(__FILE__) . '/../../../../vendor/gdata/' . PATH_SEPARATOR . get_include_path();
|
||||
$new_include_path = dirname(__FILE__) . '/../../../../../vendor/alchemy/gdata/' . PATH_SEPARATOR . get_include_path();
|
||||
set_include_path($new_include_path);
|
||||
|
||||
|
||||
|
@@ -17,7 +17,6 @@ require_once dirname(__FILE__) . '/../../PhraseanetWebTestCaseAuthenticatedAbstr
|
||||
* @link www.phraseanet.com
|
||||
*/
|
||||
require_once __DIR__ . "/../../../../lib/bootstrap.php";
|
||||
require_once __DIR__ . "/../../../../lib/vendor/Silex/autoload.php";
|
||||
API_OAuth2_Autoloader::register();
|
||||
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
|
@@ -1,8 +1,7 @@
|
||||
<?php
|
||||
|
||||
require_once dirname(__FILE__) . "/../../../../lib/vendor/oauth2/lib/OAuth2.inc";
|
||||
require_once dirname(__FILE__) . "/../../../../vendor/alchemy/oauth2php/lib/OAuth2.inc";
|
||||
require_once dirname(__FILE__) . '/../../PhraseanetPHPUnitAuthenticatedAbstract.class.inc';
|
||||
require_once dirname(__FILE__) . '/../../../../lib/vendor/symfony/src/Symfony/Component/Yaml/Parser.php';
|
||||
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
|
||||
|
Reference in New Issue
Block a user