mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 09:44:55 +02:00
Some fixes
* more info displayed when cannot connect to database * added Cache:delete($key) function * added support for OTHire 0.0.3 * deleted unused ODBC and PostgreSQL files * fixed support for Gesior layouts
This commit is contained in:
@@ -91,6 +91,15 @@ else if(isset($config['lua']['data_directory'][0]))
|
||||
if($tmp[strlen($tmp) - 1] != '/') // do not forget about trailing slash
|
||||
$tmp .= '/';
|
||||
}
|
||||
else if(isset($config['lua']['datadir'][0]))
|
||||
{
|
||||
$tmp = $config['lua']['datadir'];
|
||||
if($tmp[0] != '/')
|
||||
$tmp = $config['server_path'] . $tmp;
|
||||
|
||||
if($tmp[strlen($tmp) - 1] != '/') // do not forget about trailing slash
|
||||
$tmp .= '/';
|
||||
}
|
||||
else
|
||||
$tmp = $config['server_path'] . 'data/';
|
||||
|
||||
|
Reference in New Issue
Block a user