100
Help us understand the problem. What are the problem?

More than 3 years have passed since last update.

posted at

updated at

Organization

CakePHP DebugKit の導入手順

手順.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


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

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Sign upLogin
100
Help us understand the problem. What are the problem?