XOOPS  2.6.0
notifications.php
Go to the documentation of this file.
1 <?php
2 /*
3  You may not change or alter any portion of this comment or credits
4  of supporting developers from this source code or any supporting source code
5  which is considered copyrighted (c) material of the original comment or credit authors.
6 
7  This program is distributed in the hope that it will be useful,
8  but WITHOUT ANY WARRANTY; without even the implied warranty of
9  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10 */
11 
22 include __DIR__ . DIRECTORY_SEPARATOR . 'mainfile.php';
23 
25 if ($xoops->isActiveModule('notifications')) {
26  $xoops->redirect("modules/notifications/", 0);
27 } else {
28  $xoops->redirect("index.php", 0);
29 }
static getInstance()
Definition: Xoops.php:160
$xoops
defined('DS') or define('DS' DIRECTORY_SEPARATOR
Definition: common.php:41