Skip to content
Snippets Groups Projects
Commit f4cb44bc authored by llaffont's avatar llaffont
Browse files

Revert bootstrap

parent 26bade63
Branches
Tags
2 merge requests!258Dev/13872 Orphee Allow Hold Available Items,!6Refacto Menu Horizontal
......@@ -44,9 +44,13 @@ include_once( "fonctions/fonctions.php");
require_once "Zend/Loader.php";
require_once "library/startup.php";
defineConstant("BASE_URL", '/bokeh');
defineConstant("URL_IMG", '/bokeh/public/opac/skins/original/images/');
defineConstant("URL_SHARED_IMG", '/bokeh/public/opac/images');
$path = dirname(__FILE__);
$parts = explode(DIRECTORY_SEPARATOR, $path);
$parts = array_reverse($parts);
defineConstant("BASE_URL", "/" . $parts[1]);
defineConstant("URL_IMG", BASE_URL . "/public/opac/skins/original/images/");
defineConstant("URL_SHARED_IMG", BASE_URL . "/public/opac/images");
setupOpac();
......@@ -79,5 +83,4 @@ $_SERVER['REMOTE_ADDR'] = '127.0.0.1';
//Initialize the router for tests that do not rely on dispatch
Zend_Controller_Front::getInstance()->getRouter()->route(new Zend_Controller_Request_Http('http://localhost/'));
?>
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment