Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
101
Help us understand the problem. What is going on with this article?
@BUN

CakePHP DebugKit の導入手順

More than 3 years have passed since last update.

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


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

101
Help us understand the problem. What is going on with this article?
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
bit-part
Craft CMS, MTAppjQuery を中心にビジネスを強力にサポートするツールとしてのwebサイトを提供します

Comments

No comments
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account Login
101
Help us understand the problem. What is going on with this article?