- Added constant DOC_ROOT in system.config-default.inc.php

- Using DOC_ROOT in dbupdate_3.2.php to be compatible with checksystem.php and DBTools.php
- Rolled back all classes in the include directory from CI to basis_db
This commit is contained in:
bison
2016-08-17 11:14:52 +02:00
parent dd6ef9fdb1
commit cf999b6d82
17 changed files with 308 additions and 452 deletions
+5 -12
View File
@@ -25,19 +25,12 @@
* Andreas Moik <moik@technikum-wien.at>
*/
require_once(dirname(__FILE__).'/datum.class.php');
require_once(dirname(__FILE__).'/basis_db.class.php');
// CI
require_once(dirname(__FILE__).'/../ci_hack.php');
require_once(dirname(__FILE__).'/../application/models/organisation/Studienplan_model.php');
class studienplan extends Studienplan_model
class studienplan extends basis_db
{
use db_extra; //CI Hack
public $new = true; // boolean
public $result = array(); // Objekte
public $errormsg; // string
//Tabellenspalten
public $studienplan_id; // integer (PK)
@@ -82,12 +75,12 @@ class studienplan extends Studienplan_model
{
$this->$name=$value;
}
/*
public function __get($name)
{
return $this->$name;
}
*/
/**
* Laedt Studienplan mit der ID $studienplan_id
* @param $studienplan_id ID des zu ladenden Studienplanes
@@ -1199,4 +1192,4 @@ class studienplan extends Studienplan_model
}
}
}
?>
?>