Learning PHP and MySQL
Example 16-1 The config.php script defines settings that are used throughout the site
<?php
// put full path to Smarty.class.php
require('/usr/share/php/Smarty/Smarty.class.php');
$smarty = new Smarty();
$smarty->template_dir = '/home/www/htmlkb/smarty/templates';
$smarty->compile_dir = '/home/www/htmlkb/smarty/templates_c';
$smarty->cache_dir = '/home/www/htmlkb/smarty/cache';
$smarty->config_dir = '/home/www/htmlkb/smarty/configs';
$blog_title="Coffee Talk Blog";
?>
Posted by on 09/27 at 11:30 AM