-fix error in fresh install
This commit is contained in:
parent
cf1e9e7615
commit
c90be06f20
1 changed files with 4 additions and 0 deletions
|
@ -14,6 +14,10 @@ require_once(__DIR__.'/airtime-constants.php');
|
|||
|
||||
AirtimeInstall::ExitIfNotRoot();
|
||||
|
||||
if (!file_exists('/etc/airtime/airtime.conf')) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
require_once(AirtimeInstall::GetAirtimeSrcDir()."/application/configs/db-conf.php");
|
||||
require_once('propel/runtime/lib/Propel.php');
|
||||
Propel::init(AirtimeInstall::GetAirtimeSrcDir()."/application/configs/airtime-conf-production.php");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue