Sfoglia il codice sorgente

[ZF-9031]: Tutorial code has a bug

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@20787 44c647ce-9c0f-0410-b52a-842ac1e357ba
mikaelkael 16 anni fa
parent
commit
b20f2ae594

+ 1 - 2
documentation/manual/en/tutorials/quickstart-create-layout.xml

@@ -162,8 +162,7 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
 
 
     <programlisting language="php"><![CDATA[
     <programlisting language="php"><![CDATA[
 // application/layouts/scripts/layout.phtml
 // application/layouts/scripts/layout.phtml
-
-echo $this->doctype() ?>
+<?php echo $this->doctype() ?>
 <html xmlns="http://www.w3.org/1999/xhtml">
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
 <head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />