mirror of
https://github.com/e107inc/e107.git
synced 2025-08-12 01:25:01 +02:00
Only load trackback on the front-end.
This commit is contained in:
@@ -2,21 +2,17 @@
|
|||||||
/*
|
/*
|
||||||
* e107 website system
|
* e107 website system
|
||||||
*
|
*
|
||||||
* Copyright (C) 2008-2009 e107 Inc (e107.org)
|
* Copyright (C) 2008-2015 e107 Inc (e107.org)
|
||||||
* Released under the terms and conditions of the
|
* Released under the terms and conditions of the
|
||||||
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||||
*
|
*
|
||||||
* Plugin administration - newsfeeds
|
* Plugin Trackback
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_plugins/trackback/e_meta.php,v $
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
if (!defined('e107_INIT')) { exit; }
|
if (!defined('e107_INIT')) { exit; }
|
||||||
|
|
||||||
if(plugInstalled('trackback') && isset($pref['trackbackEnabled']))
|
if(e107::isInstalled('trackback') && !empty($pref['trackbackEnabled']) && USER_AREA)
|
||||||
{
|
{
|
||||||
echo "<link rel='pingback' href='".SITEURLBASE.e_PLUGIN_ABS."trackback/trackback.php' />";
|
echo "<link rel='pingback' href='".SITEURLBASE.e_PLUGIN_ABS."trackback/trackback.php' />";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user