mirror of
https://github.com/php/doc-it.git
synced 2026-03-24 15:42:46 +01:00
git-svn-id: https://svn.php.net/repository/phpdoc/it/trunk@313948 c90b9560-bf6c-de11-be94-00142212c4b1
67 lines
1.9 KiB
XML
67 lines
1.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- EN-Revision: n/a Maintainer: darvina Status: ready -->
|
|
<refentry xml:id="function.set-include-path" xmlns="http://docbook.org/ns/docbook">
|
|
<refnamediv>
|
|
<refname>set_include_path</refname>
|
|
<refpurpose>
|
|
Imposta include_path
|
|
</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Descrizione</title>
|
|
<methodsynopsis>
|
|
<type>string</type><methodname>set_include_path</methodname>
|
|
<methodparam><type>string</type><parameter>new_include_path</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<simpara>
|
|
Imposta il parametro di configurazione <link linkend="ini.include-path">include_path</link>
|
|
per la durata dello script. La funzione restituisce la vecchia impostazione di
|
|
<link linkend="ini.include-path">include_path</link> se ha successo, oppure
|
|
&false; se non riesce.
|
|
</simpara>
|
|
<para>
|
|
<example>
|
|
<title>Esempio di uso di <function>set_include_path</function></title>
|
|
<programlisting role="php">
|
|
<![CDATA[
|
|
<?php
|
|
// A partire da PHP 4.3.0
|
|
set_include_path('/inc');
|
|
|
|
// In tutte le versioni di PHP
|
|
ini_set('include_path', '/inc');
|
|
?>
|
|
]]>
|
|
</programlisting>
|
|
</example>
|
|
</para>
|
|
<simpara>
|
|
Vedere anche <function>ini_set</function>,
|
|
<function>get_include_path</function>,
|
|
<function>restore_include_path</function> e
|
|
<function>include</function>.
|
|
</simpara>
|
|
</refsect1>
|
|
</refentry>
|
|
|
|
<!-- 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:"~/.phpdoc/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
|
|
-->
|