Welcome to Paster, Anonymous Friend!
Added by anonymous on 2008-09-03 13:27:31 Download/View
  1. <?php defined('SYSPATH') or die('No direct script access.');
  2. class hook_config_loader extends uj_config {
  3.         public function __construct()
  4.         {       
  5.                 // > uj_config::VERSION OR uj_config::INSTALLED == FALSE)
  6.                         {
  7.                                 $modules[] = 'install';
  8.                         }
  9.                        
  10.                         Kohana::config_set('core.modules', $modules);
  11.                 }
  12.         }
  13.        
  14. }
  15. // Do something!
  16. new hook_config_loader;
  17.