mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 00:12:15 +00:00
Change paths
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user