Created
March 12, 2019 09:02
-
-
Save ron623/7aad1d147d22426f464d341310d9bacd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// テンプレートエンジンの利用(smarty) | |
require_once 'C:\xampp\htdocs\practice\vendor\autoload.php';$s= new Smarty(); | |
$s->template_dir= './templates/'; | |
$s->compile_dir='.templates_c/'; | |
$s->assign('message','サンプルメッセージ'); | |
$s->display('smarty_basic.tpl'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment