mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
Maka news rewrite the default.
This commit is contained in:
4
news.php
4
news.php
@@ -21,10 +21,10 @@
|
|||||||
|
|
||||||
require_once("class2.php");
|
require_once("class2.php");
|
||||||
|
|
||||||
if(e_DEBUG === 'news')
|
if(!deftrue('e_LEGACY_NEWS')) // subject to removal at any time.
|
||||||
{
|
{
|
||||||
require_once(e_PLUGIN."news/news.php");
|
require_once(e_PLUGIN."news/news.php");
|
||||||
// exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
include_lan(e_LANGUAGEDIR.e_LANGUAGE.'/lan_'.e_PAGE);
|
include_lan(e_LANGUAGEDIR.e_LANGUAGE.'/lan_'.e_PAGE);
|
||||||
|
Reference in New Issue
Block a user