1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-12 09:34:54 +02:00

Only load trackback on the front-end.

This commit is contained in:
Cameron
2015-02-07 13:39:24 -08:00
parent fbb0b63ae9
commit a6ace0b217

View File

@@ -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' />";
} }