use include_path from storageServer conf.php

This commit is contained in:
sebastian 2005-10-01 13:16:30 +00:00
parent 3cfbdbdf39
commit 096f49f72d
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@
function login(&$data) function login(&$data)
{ {
include_once dirname(__FILE__).'/../../../storageServer/var/conf.php'; include dirname(__FILE__).'/../../../storageServer/var/conf.php';
include_once dirname(__FILE__).'/../../../storageServer/var/GreenBox.php'; include_once dirname(__FILE__).'/../../../storageServer/var/GreenBox.php';
$dbc = DB::connect($config['dsn'], TRUE); $dbc = DB::connect($config['dsn'], TRUE);

View file

@ -1,5 +1,5 @@
<?php <?php
#ini_set('include_path', '.:../../../../../lib/pear/'); # path should be absulute, parsed during install process require_once dirname(__FILE__).'/../../../storageServer/var/conf.php';
require_once 'PEAR.php'; require_once 'PEAR.php';
require_once 'DB.php'; require_once 'DB.php';