source: spip-zone/_core_/plugins/urls_etendues/prive/squelettes/contenu/configurer_urls_fonctions.php @ 53218

Last change on this file since 53218 was 53218, checked in by kent1@…, 10 years ago

Montrons le bon exemple :

if (!defined('_ECRIRE_INC_VERSION')) return; partout

File size: 268 bytes
Line 
1<?php
2
3if (!defined('_ECRIRE_INC_VERSION')) return;
4
5function choisir_form_configuration($type_url){
6        if (include_spip("urls/$type_url")
7          AND defined($c='URLS_'.strtoupper($type_url).'_CONFIG'))
8                return "configurer_urls_".strtolower(constant($c));
9
10        return '';
11}
12?>
Note: See TracBrowser for help on using the repository browser.