[Codeigniter-users] autoload内で定義されたライブラリの除外

Back to archive index

Takeshi Amano p****@takes*****
2008年 10月 10日 (金) 13:26:53 JST


天野です

今作っているアプリでautoload内で定義されたライブラリを特定の
コントローラから除外する必要が出てきました。

例えば
$autoload['libraries'] = array('database', 'session', 'language_library');

とautoload.phpと設定しておいて

language_libraryだけを特定のコントローラでは除外して使えないように
したいのです。

autoloadじゃなくて必要な各コントローラでロードすればいいじゃないか
と言われているのは分かりますが、おおちゃくしたいのでww

こんなことできないのかな?と思い投げてみました。

Takeshi Amano

As for that VP talk all the time, I'll tell you, I still can't answer
that question until somebody answers for me what is it exactly that
the VP does every day? - Sarah Palin




Codeigniter-users メーリングリストの案内
Back to archive index