Change paths

This commit is contained in:
paolo
2016-05-04 16:20:26 +02:00
parent 85f3ea1dab
commit 28e1707b4e
4 changed files with 4 additions and 5 deletions
@@ -23,7 +23,7 @@ class Nation extends APIv1_Controller
{
parent::__construct();
// Load model PersonModel
$this->load->model('nation_model', 'NationModel');
$this->load->model('codex/nation_model', 'NationModel');
// Load set the uid of the model to let to check the permissions
$this->NationModel->setUID($this->_getUID());
}
@@ -11,7 +11,6 @@
* @filesource
*/
// ------------------------------------------------------------------------
if(!defined('BASEPATH')) exit('No direct script access allowed');
class Studiengang extends APIv1_Controller
@@ -23,7 +22,7 @@ class Studiengang extends APIv1_Controller
{
parent::__construct();
// Load model PersonModel
$this->load->model('lehre/studiengang_model', 'StudiengangModel');
$this->load->model('organisation/studiengang_model', 'StudiengangModel');
// Load set the uid of the model to let to check the permissions
$this->StudiengangModel->setUID($this->_getUID());
}
@@ -23,7 +23,7 @@ class Studienplan extends APIv1_Controller
{
parent::__construct();
// Load model PersonModel
$this->load->model('lehre/studienplan_model', 'StudienplanModel');
$this->load->model('organisation/studienplan_model', 'StudienplanModel');
// Load set the uid of the model to let to check the permissions
$this->StudienplanModel->setUID($this->_getUID());
}
+1 -1
View File
@@ -31,7 +31,7 @@ if (function_exists('get_instance'))
else
require_once(dirname(__FILE__).'/../ci_hack.php');
require_once(dirname(__FILE__).'/../application/models/lehre/Studiengang_model.php');
require_once(dirname(__FILE__).'/../application/models/organisation/Studiengang_model.php');
class studiengang extends Studiengang_model
{