[DOC-CVS] [doc-en] master: Fix typo (#4944)

[email protected] (Mikhail Alferov via GitHub)
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Mikhail Alferov (mmalferov)
Committer: GitHub (web-flow)
Pusher: sy-records
Date: 2025-10-22T10:23:27+08:00

Commit: https://github.com/php/doc-en/commit/f4ff30a7a6a555fc825577d2cb877e3a07094d6b
Raw diff: https://github.com/php/doc-en/commit/f4ff30a7a6a555fc825577d2cb877e3a07094d6b.diff

Fix typo (#4944)

Changed paths:
  M  reference/yaf/appconfig.xml


Diff:

diff --git a/reference/yaf/appconfig.xml b/reference/yaf/appconfig.xml
index 5b057fa7f52d..f5ce001e6077 100644
--- a/reference/yaf/appconfig.xml
+++ b/reference/yaf/appconfig.xml
@@ -18,18 +18,21 @@
    <programlisting role="php">
 <![CDATA[
 <?php
-    $configs = array(
-            "application" => array(
-                "directory" => dirname(__FILE__),
-                "dispatcher" => array(
-                      "catchException" => 0,
-                    ),
-                "view" => array(
-                       "ext" => "phtml",
-                    ),
-                ),
-           );
-    $app = new Yaf_Application($configs);
+
+$configs = array(
+    "application" => array(
+        "directory" => dirname(__FILE__),
+        "dispatcher" => array(
+            "catchException" => 0,
+        ),
+        "view" => array(
+            "ext" => "phtml",
+        ),
+    ),
+);
+
+$app = new Yaf_Application($configs);
+
 ?>
 ]]>
    </programlisting>
@@ -39,7 +42,7 @@
    <programlisting role="ini">
 <![CDATA[
 [yaf]
-yaf.directory = APPLICATION_PATH "/appliation"
+yaf.directory = APPLICATION_PATH "/application"
 yaf.dispatcher.catchException = 0
 
 [product : yaf]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.