includes.php 1.41 KB
Newer Older
1 2 3 4
<?php
/**
 * Copyright (c) 2012, Agence Française Informatique (AFI). All rights reserved.
 *
Laurent's avatar
Laurent committed
5
 * BOKEH is free software; you can redistribute it and/or modify
6 7 8 9 10 11
 * it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE as published by
 * the Free Software Foundation.
 *
 * There are special exceptions to the terms and conditions of the AGPL as it
 * is applied to this software (see README file).
 *
Laurent's avatar
Laurent committed
12
 * BOKEH is distributed in the hope that it will be useful,
13 14 15 16 17
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU AFFERO GENERAL PUBLIC LICENSE for more details.
 *
 * You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
Laurent's avatar
Laurent committed
18
 * along with BOKEH; if not, write to the Free Software
webmaster's avatar
webmaster committed
19
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA
20
 */
21
$base_path = realpath(dirname(__FILE__));
22 23
set_include_path($base_path . PATH_SEPARATOR .
                 $base_path . '/library' . PATH_SEPARATOR .
24 25
								 $base_path . '/library/storm/src' . PATH_SEPARATOR .
								 $base_path . '/library/storm/zf/library' . PATH_SEPARATOR .
26
                 $base_path . '/library/digital_resources' . PATH_SEPARATOR .
27
                 $base_path . '/library/templates' . PATH_SEPARATOR .
28
								 get_include_path());
29 30

include_once "local.php";
31
include_once "library/fonctions/fonctions.php";
32 33
require_once "library/startup.php";
?>