[SPIP Zone] [Spip-zone-commit] r8106 - in /_plugins_/_stable_/nuage: modeles/nuage_fonctions.php nuage_options.php nuage_pipelines_public.php plugin.xml

On 18 Dec, 2006, at 13:23, olivier.gendrin@free.fr wrote:

Je suis très insatisfait de l'utilisation que je fais de nuage_options.php (include find_in_path('nuage_options.php');)...

si tu le mets dans ton plugin.xml comme <options>nuage_options.php</options> alors ce fichier sera chargé partout dans l'espace privé et public normalement.

sinon, tu peux faire un include_spip('nuage_options'); ça devrait le faire.

Pierre

Pierre Andrews wrote:

On 18 Dec, 2006, at 13:23, olivier.gendrin@free.fr wrote:

Je suis très insatisfait de l'utilisation que je fais de nuage_options.php (include find_in_path('nuage_options.php');)...

si tu le mets dans ton plugin.xml comme <options>nuage_options.php</ options> alors ce fichier sera chargé partout dans l'espace privé et public normalement.

sinon, tu peux faire un include_spip('nuage_options'); ça devrait le faire.

Pierre

C'est bien ce que j'ai fait : <options>nuage_options.php</options>

Et ça ne prennait pas pour autant.

--

Olivier G.
http://www.lespacedunmatin.info/blog/