smartyのconfig_load()でNoticeエラー [PHP]
第6回 Smartyを使って実用的なページを作ってみる(その2)
> $smarty->config_load ('smartysample/configs/app.conf');
Notice: function call 'config_load' is unknown or deprecated
smartyのバージョンが3にあがって、変更になったAPIらしい。下記の通り修正して動作確認。
> $smarty->configLoad ('smartysample/configs/app.conf');
2011-09-17 14:14
nice!(0)
コメント(1)
トラックバック(0)
初めまして。
テンプレートエンジン、便利ですよね。
by 師子乃 (2019-01-07 21:11)