コマンドラインからCIのコントローラ経由で実行できるようにする。 CIそのままでは引数によるコントローラ、メソッドのマッピングができないのだが、今後使う必要が出てきそうなのでいじってみる。 処理を追ってみると、CodeIgniter.php 内で pre_system フックの後に CI_Router クラスの読み込みを行っている。 CI_Router クラス内では $_SERVER の値によりコントローラとメソッドの選択を行っているので、無理矢理だがそこを書き換えることで動作の制御ができそう。 1. system/applications/config/hooks.php に以下を追加。 $hook['pre_system'] = array( 'class' => 'CLI', 'function' => 'set_route', 'filename' => 'CLI.php', 'f
If you are using Zend_Form and your site increases in complexity and attracts more traffic, you are most likely to run into performance problems. Of course, bigger and more complex projects result in more load on your servers. A typical scenario might be you’ve added a few new features to a Web application and now are seeing more server load and memory usage; thus, pages seem to load slower. To so
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く