mirror of
https://github.com/e107inc/e107.git
synced 2025-04-20 04:32:01 +02:00
News: rewrite of frontend script. To test add define('e_DEBUG', 'news'); to e107_config.php
This commit is contained in:
parent
a9a63848b1
commit
ccb44d46e7
1504
e107_plugins/news/news.php
Normal file
1504
e107_plugins/news/news.php
Normal file
File diff suppressed because it is too large
Load Diff
9
news.php
9
news.php
@ -20,6 +20,13 @@
|
||||
*/
|
||||
|
||||
require_once("class2.php");
|
||||
|
||||
if(e_DEBUG === 'news')
|
||||
{
|
||||
require_once(e_PLUGIN."news/news.php");
|
||||
// exit;
|
||||
}
|
||||
|
||||
include_lan(e_LANGUAGEDIR.e_LANGUAGE.'/lan_'.e_PAGE);
|
||||
|
||||
require_once(e_HANDLER."news_class.php");
|
||||
@ -185,7 +192,7 @@ if(!empty($_GET['author']) || substr($action,0,4) == 'author=')
|
||||
}
|
||||
|
||||
|
||||
if(E107_DBG_PATH)
|
||||
if(e_DEBUG === 'news')
|
||||
{
|
||||
echo "<div class='alert alert-info'>";
|
||||
echo "<h4>SEF Debug Info</h4>";
|
||||
|
Loading…
x
Reference in New Issue
Block a user