Subscribe to RSS Feed

Subscribe to Comments Feed

Subscribe to Atom Feed

tech

技術的なことのメモ
  • blog
  • sitemap
  • 紹介

cakephp導入

by outsider タグ: cakephp, php
05 08 2009
  • ダウンロード
  • ここから最新版のダウンロード。

  • ファイルの設置
  • $ tar zxpf cake_1.2.5.tar.gz   # 展開
    $ cd cake_1.2.5
    $ chown -R apache app/tmp          # apacheが書き込みできるように
  • bootstrap.php
  • 各クラスのパスを追加したい場合はapp/config/bootstrap.phpに追記。

    $viewPaths = array(
          ROOT.DS.APP_DIR.DS.'views'.DS,
          ROOT.DS.APP_DIR.DS.'views'.DS.'admin'.DS,
    );
    $controllerPaths = array(
          ROOT.DS.APP_DIR.DS.'controllers'.DS,
          ROOT.DS.APP_DIR.DS.'controllers'.DS.'admin'.DS,
    );
    
  • databases.php
  • データベースの設定。

  • core.php
  • Configure::write('Routing.admin', 'admin');
    Configure::write('debug', 2);
    Configure::write('App.encoding', 'UTF-8');
    Configure::write('Security.salt', 'DYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi');
    

    Related posts:

    1. cakephp smartyのテンプレートのパスを変更
    2. bakeで雛型を作る

    0 comments
    add to hatena hatena.comment (0) add to del.icio.us (0) add to livedoor.clip (0) add to Yahoo!Bookmark (0) Total: 0

    Leave a Reply

    返信をキャンセル

    google adsense

    カテゴリー

    • CentOS
    • php
      • cakephp
    • Windows
    • wordpress

    タグ

    cakephp CentOS munin php Windows wordpress yum
    Design by: Bingo - The Web Design Experts