diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-11-02 23:55:09 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-11-02 23:55:09 +0000 |
commit | e173f36bcb50451c49e5708de29fcb41267b41f4 (patch) | |
tree | 8731a44fea798548426ffbbc24421c87091fe147 /core/controllers/welcome.php | |
parent | aff7048b1f94dfcc98924bf9a0904dbba13709f7 (diff) |
Create some basic infrastructure:
* item model (contains basic item info, similar to the gx version)
* module model (has info about each module and which version of it is installed)
* added a very basic unit test to verify that we can create an instance of item
* Updated our test controller to require a unit_test db config and
call core::install if it hasn't been done already.
New pattern:
* core/helpers/core_installer.php creates core_installer helper.
When we install a new module you call xxx_installer::install(),
and when you want it to go away, you do xxx_installer::uninstall()
Create
Diffstat (limited to 'core/controllers/welcome.php')
-rw-r--r-- | core/controllers/welcome.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/controllers/welcome.php b/core/controllers/welcome.php index 672252eb..061a4176 100644 --- a/core/controllers/welcome.php +++ b/core/controllers/welcome.php @@ -20,7 +20,7 @@ class Welcome_Controller extends Template_Controller { public $template = 'welcome.html'; - function Index() { + function index() { $this->template->syscheck = new View('welcome_syscheck.html'); $this->template->syscheck->errors = $this->_get_config_errors(); $this->_create_directories(); @@ -77,7 +77,7 @@ class Welcome_Controller extends Template_Controller { return $errors; } - function _error_handler() { + function _error_handler($x) { } function _create_directories() { |