Removed references to time before Static Core

This commit is contained in:
Abel Hoogeveen 2016-01-13 12:30:02 +01:00
parent ea3661d3be
commit b89f4e1fdd
2 changed files with 3 additions and 3 deletions

View File

@ -81,11 +81,11 @@ class Config {
return $cfg = self::$cfg[$name] = new ConfigFileORM($file);
} else {
// Caught in a datastream
$this->core->loadMod('techfuze/database');
$module = Modules::get('core/database');
// No escape from dbactive
if (self::$dbActive) {
// Open your stream
$dborm = new ConfigDatabaseORM($this->mods->database, $name);
$dborm = new ConfigDatabaseORM($module, $name);
// Lookup for the success
if ($dborm->success) {
// And see

View File

@ -36,7 +36,7 @@ return array(
// The file that will be loaded upon requesting the module
'module_file' => 'class.main.php',
// The name of the module. When the module is loaded it can be called throughout the framework with $this->mods->example;
// The name of the module; Appended into Modules::get('namespace/module_name');
'module_name' => 'Example',
// Wether this module is an abstract. Making this abstract will only load the file, but not the class.