Merge branch 'master' of github.com:jeena/seinheit.ch

This commit is contained in:
Logsol 2013-07-08 23:57:37 +02:00
commit 8d5a30b335
4 changed files with 17 additions and 7 deletions

View file

@ -34,7 +34,10 @@ class AdminController extends Katharsis_Controller_Abstract
private function getPassword()
{
$admin_ini = parse_ini_file('config/admin.ini');
$path = 'config/admin.ini';
if(!is_readable($path)) die($path . " not found");
$admin_ini = parse_ini_file($path);
$password = $admin_ini["password"];
return $password;