Merge remote-tracking (subtree) branch 'PracticingPhp/master'
This commit is contained in:
11
PracticingPhp/web/html/wikipedia-tutorial/smarty.php
Normal file
11
PracticingPhp/web/html/wikipedia-tutorial/smarty.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
require_once("libs/Smarty.class.php");
|
||||
|
||||
$smarty = new Smarty();
|
||||
$smarty->assign("title", "smarty!");
|
||||
$smarty->assign("bgcolor", "#aef");
|
||||
$smarty->template_dir = "templates";
|
||||
$smarty->display("test.tpl");
|
||||
|
||||
?>
|
Reference in New Issue
Block a user