diff --git a/docs/getting-started.sgml b/docs/getting-started.sgml index ea9579a2..43707e20 100644 --- a/docs/getting-started.sgml +++ b/docs/getting-started.sgml @@ -153,7 +153,7 @@ $smarty = new Smarty; Now that the library files are in place, it's time to setup the Smarty directories for your application. Smarty requires four directories which - are (by default) named tempalates, + are (by default) named templates, templates_c, configs and cache. Each of these are definable by the Smarty class properties $template_dir, @@ -278,7 +278,7 @@ Hello, {$name}! Editing /web/www.mydomain.com/docs/guestbook/index.php // load Smarty library -require(Smarty.class.php'); +require('Smarty.class.php'); $smarty = new Smarty; @@ -334,7 +334,7 @@ $smarty->display('index.tpl'); // load Smarty library -require(Smarty.class.php'); +require('Smarty.class.php'); // The setup.php file is a good place to load // required application library files, and you diff --git a/docs/programmers.sgml b/docs/programmers.sgml index 02987f55..c8bc49e8 100644 --- a/docs/programmers.sgml +++ b/docs/programmers.sgml @@ -346,7 +346,7 @@ $smarty->autoload_filters = array('pre' => array('trim', 'stamp'), $php_handling This tells Smarty how to handle PHP code embedded in the - tempalates. There are four possible settings, default being + templates. There are four possible settings, default being SMARTY_PHP_PASSTHRU. Note that this does NOT affect php code within {php}{/php} tags in the template.