-
Notifications
You must be signed in to change notification settings - Fork 0
/
e_module.php
25 lines (19 loc) · 981 Bytes
/
e_module.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
/**
* @file
* This file is loaded every time the core of e107 is included. ie. Wherever
* you see require_once("class2.php") in a script. It allows a developer to
* modify or define constants, parameters etc. which should be loaded prior to
* the header or anything that is sent to the browser as output. It may also be
* included in Ajax calls.
*/
if(!defined('e107_INIT'))
{
exit;
}
require_once(e_PLUGIN . 'news/plugin_defines.php'); /* for easier copying */
/* this is not working for menus but you need it for getSingleton() */
e107::setHandlerOverload('news', 'news', '{e_PLUGIN}news/ehandlers/news_class.php');
e107::setHandlerOverload('e_news_tree', 'e_news_tree', '{e_PLUGIN}news/ehandlers/news_class.php');
///e107::setHandlerOverload('e_news_category_item', 'e_news_category_item', '{e_PLUGIN}news/ehandlers/news_class.php');
//e107::setHandlerOverload('e_news_category_tree', 'e_news_category_tree', '{e_PLUGIN}news/ehandlers/news_class.php');