Пример #1
0
<?php

defined('SYSPATH') or die('No direct access allowed.');
Route::set('notice-add', 'notice/add/<type>/<message>(/<persist>)')->defaults(array('controller' => 'notice', 'action' => 'add', 'persist' => FALSE));
Route::set('notice-remove', 'notice/remove/<hash>')->defaults(array('controller' => 'notice', 'action' => 'remove'));
Notices::init();
Пример #2
0
 protected function setUp()
 {
     Notices::init();
 }