1
0
mirror of https://github.com/nerzhul/ocsms.git synced 2025-06-09 08:56:10 +00:00

Fix $c call

This commit is contained in:
Ner'zhul 2014-09-30 10:00:49 +02:00
parent 860b4a3fb5
commit b17cf11020

View File

@ -26,12 +26,15 @@ class Application extends App {
* @var array used to cache the parsed contacts for every request
*/
private static $contacts;
private $c;
public function __construct (array $urlParams=array()) {
parent::__construct('ocsms', $urlParams);
$container = $this->getContainer();
$this->c = $container;
/**
* Controllers
*/