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

Revision 396, 492 bytes (checked in by kovell, 11 years ago)

Fixes: HTML, killlists with multiple involved, thumbnail creation delays, mods using short php tags corrected (Tribalize) . Autoupgrade adds missing indexes on upgraded boards. page cache updating algorithm improved, feed log information cleaned up (Oleg)

Line 
1<?php
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.