[353] | 1 | <?php |
---|
| 2 | /***************************************************************************\ |
---|
| 3 | Plugin : redCTA |
---|
| 4 | Licence : GPL |
---|
| 5 | Auteurs : Guillermo Acedo |
---|
| 6 | Infos : http://spip.redcta.org.ar |
---|
| 7 | |
---|
| 8 | |
---|
| 9 | $LastChangedRevision: 1 $ |
---|
| 10 | $LastChangedBy: guille $ |
---|
| 11 | $LastChangedDate: 2009-08-09 (ven, 21 mar 2008) $ |
---|
| 12 | \***************************************************************************/ |
---|
| 13 | |
---|
| 14 | session_start(); |
---|
| 15 | if (!isset($_SESSION['id_check'])) { |
---|
| 16 | $_SESSION['id_check'] = uniqid(rand()); |
---|
| 17 | } |
---|
| 18 | |
---|
| 19 | $p=explode(basename(_DIR_PLUGINS)."/",str_replace('\\','/',realpath(dirname(__FILE__)))); |
---|
| 20 | define('_DIR_PLUGIN_REDCTA',(_DIR_PLUGINS.end($p))); |
---|
| 21 | |
---|
| 22 | $forcer_lang = true; |
---|
| 23 | // pour free : tester si on est en admin privee ou publique |
---|
| 24 | //if (!ereg("^\.\.", _DIR_PLUGIN_REDCTA)) { |
---|
| 25 | // $GLOBALS['dossier_squelettes'] = implode(":", Array( |
---|
| 26 | //'pages-custom', |
---|
| 27 | // _DIR_PLUGIN_ARTY.'/squelettes', |
---|
| 28 | // _DIR_PLUGIN_ARTY.'/squelettes/blocs', |
---|
| 29 | // _DIR_PLUGIN_ARTY.'/squelettes/blocs/logos', |
---|
| 30 | // _DIR_PLUGIN_ARTY.'/squelettes/blocs/galeries', |
---|
| 31 | // _DIR_PLUGIN_ARTY.'/squelettes/blocs/article', |
---|
| 32 | // _DIR_PLUGIN_ARTY.'/squelettes/blocs/rubrique', |
---|
| 33 | // _DIR_PLUGIN_ARTY.'/squelettes/blocs/sommaire', |
---|
| 34 | // _DIR_PLUGIN_ARTY.'/squelettes/blocs/404', |
---|
| 35 | // _DIR_PLUGIN_ARTY.'/squelettes/blocs/mot', |
---|
| 36 | // _DIR_PLUGIN_ARTY.'/squelettes/blocs/recherche', |
---|
| 37 | // _DIR_PLUGIN_ARTY.'/squelettes/blocs/login', |
---|
| 38 | // _DIR_PLUGIN_ARTY.'/squelettes/blocs/groupe' |
---|
| 39 | // )); |
---|
| 40 | //} |
---|
| 41 | // structure des tables |
---|
| 42 | |
---|
| 43 | //include_spip("base/tables_magusine"); |
---|
| 44 | |
---|
| 45 | ?> |
---|