mirror of
https://github.com/smarty-php/smarty.git
synced 2025-10-24 09:51:37 +02:00
Typos correction and all translated now.
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision$ -->
|
||||
<sect1 id="variable.debugging.ctrl">
|
||||
<title>$debugging_ctrl</title>
|
||||
<para>
|
||||
Ini membolehkan cara alternatif untuk menghidupkan debugging. <literal>NONE</literal>
|
||||
berarti tidak ada metode alternatif yang dibolehkan. <literal>URL</literal>
|
||||
berarti ketika kata kunci <literal>SMARTY_DEBUG</literal> ditemukan dalam
|
||||
<literal>QUERY_STRING</literal>, debugging dihidupkan untuk naskah
|
||||
permintaan itu. Jika <link linkend="variable.debugging">
|
||||
<parameter>$debugging</parameter></link> adalah &true;, nilai ini
|
||||
diabaikan.
|
||||
</para>
|
||||
<example>
|
||||
<title>$debugging_ctrl pada localhost</title>
|
||||
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
// menampilkan konsol debug hanya pada localhost misalnya
|
||||
// http://localhost/script.php?foo=bar&SMARTY_DEBUG
|
||||
$smarty->debugging = false; // standar
|
||||
$smarty->debugging_ctrl = ($_SERVER['SERVER_NAME'] == 'localhost') ? 'URL' : 'NONE';
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
|
||||
<para>
|
||||
Lihat juga seksi <link linkend="chapter.debugging.console">konsol debugging</link>
|
||||
dan
|
||||
<link linkend="variable.debugging"><parameter>$debugging</parameter></link>.
|
||||
</para>
|
||||
</sect1>
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"../../../../manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
Reference in New Issue
Block a user