Commit 83049e7a authored by Ghislain Loas's avatar Ghislain Loas

dev #47780 RT : refacto includes and console php files

parent 2d430c39
......@@ -19,20 +19,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
$base_path = realpath(dirname(__FILE__));
set_include_path($base_path . '/library' . PATH_SEPARATOR .
$base_path . '/library/digital_resources' . PATH_SEPARATOR .
$base_path . '/library/storm/src' . PATH_SEPARATOR .
$base_path . '/library/storm/zf/library' . PATH_SEPARATOR .
get_include_path());
require_once "includes.php";
define("BASE_URL", "/");
include_once "local.php";
include_once "fonctions/fonctions.php";
require_once "Zend/Loader.php";
require_once "library/startup.php";
setupOpac();
echo "Welcome to Bokeh " . BOKEH_RELEASE_NUMBER . "\n";
......
......@@ -21,9 +21,9 @@
$base_path = realpath(dirname(__FILE__));
set_include_path($base_path . PATH_SEPARATOR .
$base_path . '/library' . PATH_SEPARATOR .
$base_path . '/library/digital_resources' . PATH_SEPARATOR .
$base_path . '/library/storm/src' . PATH_SEPARATOR .
$base_path . '/library/storm/zf/library' . PATH_SEPARATOR .
$base_path . '/library/digital_resources' . PATH_SEPARATOR .
get_include_path());
include_once "local.php";
......
Markdown is supported
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