Code complete on API.

This commit is contained in:
Josh Sherman 2013-12-19 11:25:19 -05:00
parent 1e140d1a09
commit 78c8ed42ac
4 changed files with 117 additions and 6 deletions

View file

@ -11,7 +11,9 @@ class CustomModule extends Module
$this->redis = new CustomRedis();
if (substr(get_class($this), 0, 3) != 'api')
$class = get_class($this);
if ($class == 'api' || substr($class, 0, 3) != 'api')
{
if (isset($_COOKIE['__auth']))
{