source: trunk/spip/esqueleto-redcta/plugins/redCTA/redcta_options.php @ 357

Last change on this file since 357 was 357, checked in by guille, 13 years ago

se actualizo el mensaje

File size: 905 bytes
Line 
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
14session_start();
15if (!isset($_SESSION['id_check'])) {
16        $_SESSION['id_check'] = uniqid(rand());
17}
18
19$p=explode(basename(_DIR_PLUGINS)."/",str_replace('\\','/',realpath(dirname(__FILE__))));
20define('_DIR_PLUGIN_REDCTA',(_DIR_PLUGINS.end($p)));
21
22//$forcer_lang = true;
23// pour free : tester si on est en admin privee ou publique
24if (!ereg("^\.\.", _DIR_PLUGIN_REDCTA)) {
25        $GLOBALS['dossier_squelettes'] = implode(":", Array(
26
27        _DIR_PLUGIN_REDCTA.'/squelettes',
28
29        ));
30}
31// structure des tables
32
33//include_spip("base/tables_magusine");
34
35?>
Note: See TracBrowser for help on using the repository browser.