use include_path from storageServer conf.php
This commit is contained in:
parent
3cfbdbdf39
commit
096f49f72d
2 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
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';
|
||||
$dbc = DB::connect($config['dsn'], TRUE);
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?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 'DB.php';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue