mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-23 09:52:22 +00:00
- 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:
@@ -19,16 +19,11 @@
|
||||
* Andreas Oesterreicher <andreas.oesterreicher@technikum-wien.at> and
|
||||
* Rudolf Hangl <rudolf.hangl@technikum-wien.at>.
|
||||
*/
|
||||
require_once(dirname(__FILE__).'/basis_db.class.php');
|
||||
require_once(dirname(__FILE__).'/datum.class.php');
|
||||
|
||||
// CI
|
||||
require_once(dirname(__FILE__).'/../ci_hack.php');
|
||||
require_once(dirname(__FILE__).'/../application/models/crm/Preinteressent_model.php');
|
||||
|
||||
class preinteressent extends Preinteressent_model
|
||||
class preinteressent extends basis_db
|
||||
{
|
||||
use db_extra; //CI Hack
|
||||
|
||||
public $new; // boolean
|
||||
public $result = array();
|
||||
|
||||
@@ -72,7 +67,7 @@ class preinteressent extends Preinteressent_model
|
||||
* Laedt einen Datensatz
|
||||
* @param preinteressent_id ID des zu ladenden Datensatzes
|
||||
*/
|
||||
public function load($preinteressent_id = null)
|
||||
public function load($preinteressent_id)
|
||||
{
|
||||
//id auf Gueltigkeit pruefen
|
||||
if(!is_numeric($preinteressent_id) || $preinteressent_id == '')
|
||||
@@ -723,4 +718,4 @@ class preinteressent extends Preinteressent_model
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
Reference in New Issue
Block a user