root/dev/mods/apiuser/phpbbaccess.php @ 365

Revision 365, 489 bytes (checked in by exi, 11 years ago)

Updated included EVEAPI to 2.71
Included a mod_xajax compatible apiuser mod
Tweaked some code of the apiuser mod (menu, xajax, templates)
Removed the post.php from the xajax mod.

Line 
1<?
2//debut Mod PHPBB
3// Gestion de la page
4require_once('kbconfig.php');
5require_once('common/includes/globals.php');
6require_once('common/includes/db.php');
7session_start();
8if (strstr(config::get("mods_active"),'apiuser')===false){} else
9{
10        if (!isset($_SESSION['phpOK']))
11                header('location: checkphpbb.php');
12
13        if (isset($_SESSION['phpOK']) && $_SESSION['phpOK']==0 && $_GET['a']<>'error')
14        {
15        header('location: index.php?a=error');
16        exit();
17        }
18}
19//fin Mod PHPBB
20?>
Note: See TracBrowser for help on using the browser.