-
Notifications
You must be signed in to change notification settings - Fork 0
Debug
tsubo edited this page Oct 11, 2014
·
2 revisions
テンプレートやルーティングを追加した時に期待する結果が表示されなかった場合は、どこかに記述ミスがあるはずです。設定ファイルでデバッグモードをtrueにして実行してみてください。エラー箇所の情報が表示されますので、それを見てエラー箇所を修正します。
config.php
/*-----------------------------------------------------------------------------
* Slim Framework
*----------------------------------------------------------------------------*/
$config['slim'] = array(
'debug' => true,
'log.enabled' => true,
);
/*-----------------------------------------------------------------------------
* Twig Template
*----------------------------------------------------------------------------*/
$config['twig'] = array(
'debug' => true,
);
- Home
- Getting Started
- Deployment
- Environment
- Component
- Directory Structure
- Configration
- Your Contents
- Default Pages
- Admin
- Blog
- Template
- Design
- Theme
- Customization
- Routing
- Json Schema
- Custom Field
- Custom Post
- Debug