source: trunk/spip/esqueleto-redcta/plugins/magusine/arty_options.php @ 359

Last change on this file since 359 was 79, checked in by guille, 16 years ago
  • Property svn:executable set to *
File size: 1.0 KB
Line 
1<?php
2session_start(); 
3if (!isset($_SESSION['id_check'])) {
4  $_SESSION['id_check'] = uniqid(rand());
5}
6
7$p=explode(basename(_DIR_PLUGINS)."/",str_replace('\\','/',realpath(dirname(__FILE__))));
8define('_DIR_PLUGIN_ARTY',(_DIR_PLUGINS.end($p)));
9
10$forcer_lang = true;
11// pour free : tester si on est en admin privee ou publique
12if (!ereg("^\.\.", _DIR_PLUGIN_ARTY)) {
13$GLOBALS['dossier_squelettes'] = implode(":", Array(
14'pages-custom',
15  _DIR_PLUGIN_ARTY.'/squelettes',
16  _DIR_PLUGIN_ARTY.'/squelettes/blocs',
17  _DIR_PLUGIN_ARTY.'/squelettes/blocs/logos',
18  _DIR_PLUGIN_ARTY.'/squelettes/blocs/galeries',
19  _DIR_PLUGIN_ARTY.'/squelettes/blocs/article',
20  _DIR_PLUGIN_ARTY.'/squelettes/blocs/rubrique',
21  _DIR_PLUGIN_ARTY.'/squelettes/blocs/sommaire',
22  _DIR_PLUGIN_ARTY.'/squelettes/blocs/404',
23  _DIR_PLUGIN_ARTY.'/squelettes/blocs/mot',
24  _DIR_PLUGIN_ARTY.'/squelettes/blocs/recherche',
25  _DIR_PLUGIN_ARTY.'/squelettes/blocs/login',
26  _DIR_PLUGIN_ARTY.'/squelettes/blocs/groupe'
27));
28}
29// structure des tables
30
31include_spip("base/tables_magusine");
32
33?>
Note: See TracBrowser for help on using the repository browser.