Change namespace to add Kanboard as prefix

This commit is contained in:
Frederic Guillot
2015-10-13 22:19:17 -04:00
parent 7bfa38d93c
commit 9c9ed02cd7
329 changed files with 1184 additions and 1149 deletions

View File

@@ -1,8 +1,8 @@
<?php
namespace Model;
namespace Kanboard\Model;
use Core\Request;
use Kanboard\Core\Request;
use SimpleValidator\Validator;
use SimpleValidator\Validators;
use Gregwar\Captcha\CaptchaBuilder;
@@ -25,7 +25,7 @@ class Authentication extends Base
public function backend($name)
{
if (! isset($this->container[$name])) {
$class = '\Auth\\'.ucfirst($name);
$class = '\Kanboard\Auth\\'.ucfirst($name);
$this->container[$name] = new $class($this->container);
}