103
98

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

CakePHP DebugKit の導入手順

Last updated at Posted at 2013-03-20

手順.1


リポジトリからソースをDL
https://github.com/cakephp/debug_kit

手順.2


解凍後、DebugKit にリネームして /plugins/ へコピー

手順.3


/app/Config/bootstrap.php に、プラグインのロードの記述を追加

	CakePlugin::load('DebugKit');

手順.4


/app/Controller/AppController.php 内で、コンポーネントの読込

	class AppController extends Controller {
		public $components = array('DebugKit.Toolbar');	// この行を追加
	}

手順.5


/app/View/Layouts/default.ctp に記述された sql_dump エレメントの出力を削除

	<?php echo $this->element('sql_dump'); ?>

手順.6


ビューの画面右上に固定表示されるアイコンをクリック

103
98
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
103
98

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?