リビジョン 3bf0e002 app/Controller/AppController.php
| app/Controller/AppController.php | ||
|---|---|---|
| 31 | 31 |
* @link http://book.cakephp.org/2.0/en/controllers.html#the-app-controller |
| 32 | 32 |
*/ |
| 33 | 33 |
class AppController extends Controller {
|
| 34 |
public $components = array('DebugKit.Toolbar');
|
|
| 34 |
public $helpers = array( |
|
| 35 |
'Session', |
|
| 36 |
'Html' => array('className' => 'BoostCake.BoostCakeHtml'),
|
|
| 37 |
'Form' => array('className' => 'BoostCake.BoostCakeForm'),
|
|
| 38 |
'Paginator' => array('className' => 'BoostCake.BoostCakePaginator'),
|
|
| 39 |
); |
|
| 40 |
|
|
| 41 |
public $components = array( |
|
| 42 |
'DebugKit.Toolbar', |
|
| 43 |
/* |
|
| 44 |
'Auth' => array( |
|
| 45 |
'flash' => array( |
|
| 46 |
'element' => 'alert', |
|
| 47 |
'key' => 'auth', |
|
| 48 |
'params' => array( |
|
| 49 |
'plugin' => 'BoostCake', |
|
| 50 |
'class' => 'alert-error' |
|
| 51 |
) |
|
| 52 |
) |
|
| 53 |
) |
|
| 54 |
*/ |
|
| 55 |
); |
|
| 35 | 56 |
} |
他の形式にエクスポート: Unified diff