1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-23 23:32:18 +01:00
This commit is contained in:
Mikhail Alferov
2025-10-22 05:23:27 +03:00
committed by GitHub
parent f309e78f94
commit f4ff30a7a6

View File

@@ -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]