fix php bug #34520: broken example display (de only)

This commit is contained in:
nlopess
2005-09-16 09:40:46 +00:00
parent 25fc6f44d8
commit e71d2ba4db

View File

@@ -256,6 +256,7 @@ $smarty = new Smarty;
define('SMARTY_DIR','/usr/local/lib/php/Smarty/'); define('SMARTY_DIR','/usr/local/lib/php/Smarty/');
require(SMARTY_DIR.'Smarty.class.php'); require(SMARTY_DIR.'Smarty.class.php');
$smarty = new Smarty; $smarty = new Smarty;
?>
]]> ]]>
</programlisting> </programlisting>
</example> </example>
@@ -377,7 +378,7 @@ chmod 770 /web/www.example.com/smarty/guestbook/templates_c/
chown nobody:nobody /web/www.example.com/smarty/guestbook/cache/ chown nobody:nobody /web/www.example.com/smarty/guestbook/cache/
chmod 770 /web/www.example.com/smarty/guestbook/cache/</screen> chmod 770 /web/www.example.com/smarty/guestbook/cache/</screen>
]]> ]]>
</programlisting> </programlisting>
</example> </example>
@@ -450,7 +451,7 @@ $smarty->cache_dir = '/web/www.example.com/smarty/guestbook/cache/';
$smarty->assign('name','Ned'); $smarty->assign('name','Ned');
$smarty->display('index.tpl');</screen> $smarty->display('index.tpl');
?> ?>
]]> ]]>
</programlisting> </programlisting>
@@ -527,6 +528,8 @@ class Smarty_GuestBook extends Smarty {
} }
} }
?>
]]>
</programlisting> </programlisting>
</example> </example>
@@ -556,10 +559,10 @@ class Smarty_GuestBook extends Smarty {
require('guestbook/setup.php'); require('guestbook/setup.php');
$smarty = new Smarty_GuestBook; $smarty = new Smarty_GuestBook;
$smarty->assign('name','Ned'); $smarty->assign('name','Ned');
$smarty->display('index.tpl'); $smarty->display('index.tpl');
?>
]]> ]]>
</programlisting> </programlisting>
</example> </example>