return '0.5 beta';
}
- private static $settings = array(
+ public static $settings = array(
'app_base' => '',
'debug' => false,
'media_url' => '/media/',
return strtolower($e[count($e)-1]);
}
+ /**
+ * Configures application
+ */
+ public function configure($settings)
+ {
+ }
+
/**
* Returns CLI commands
*
foreach (IPF::get('applications') as $name) {
$className = $name.'_App';
$this->apps[$name] = new $className;
+ $this->apps[$name]->configure(IPF::$settings);
}
$this->router = new IPF_Router;
}