タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

cakephpとadminに関するk_37toのブックマーク (1)

  • CakePHP 管理者用アクション

    CakePHPでは一つのコントローラの中に通常のアクションと管理者用アクションとを定義できます。例えばコントローラ名がpostの場合、URLは以下のようになります。 ・通常 http://www.example.com/post ・管理者用 http://www.example.com/admin/post この機能を使う手順は以下になります。 1.CAKE_ADMINを有効にする app/config/core.phpのCAKE_ADMIN定義を有効にします。(デフォルトはコメントアウトされている) /** * Uncomment the define below to use cake built in admin routes. * You can set this value to anything you want. * All methods related to the ad

  • 1