- 389 名前:nobodyさん [2009/01/15(木) 22:45:35 ID:iReMhog8]
- smartyを設定したんだけど、ページが表示されません
assignもdisplayも動かないというか、それ以前に templatesディレクトリの指定とかがうまくいってるのかがわからないです そういう設定が今どうなっているのか、確認する方法はないでしょうか? ちなみに今のsmarty.class.phpへの接続は以下のような形です <?php //テスト require_once('Smarty.class.php');//これでSmarty.class.phpに繋がってることは確認済みです class MySmarty extends Smarty{ function MySmarty(){ $this->Smarty(); $mydir = dirname(__FILE__); $this->template_dir = $mydir."/templates/"; $this->compile_dir = $mydir."/templates_c/"; $this->config_dir = $mydir."/configs/"; $this->cache_dir = $mydir."/cache/"; $this->caching = 0; } } ?> これを、各phpからrequireさせています
|

|