Skip to content
Snippets Groups Projects
Commit 4f401de9 authored by Patrick Barroca's avatar Patrick Barroca :grin:
Browse files

Fix storm include pass to conform to submodules configuration

parent 92fe9b73
Branches
Tags
No related merge requests found
......@@ -20,15 +20,18 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
include_once (realpath(dirname(__FILE__)).'/local.php');
$basePath = realpath(dirname(__FILE__));
include_once ($basePath . '/local.php');
if (!defined('OPAC_PATH'))
define('OPAC_PATH',realpath(dirname(__FILE__).'/../'));
define('OPAC_PATH', $basePath . '/../');
if (!defined('LANG_DIR'))
define('LANG_DIR', OPAC_PATH.'/library/translation/');
set_include_path(get_include_path().PATH_SEPARATOR.OPAC_PATH.'/library');
set_include_path(get_include_path()
. PATH_SEPARATOR . OPAC_PATH . '/library'
. PATH_SEPARATOR . OPAC_PATH . '/library/storm/src');
// Includes de base
include_once "fonctions/array.php";
......
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