1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 13:47:31 +02:00

Notice removal, general tidy

This commit is contained in:
e107steved
2010-03-13 22:39:39 +00:00
parent c03a06be82
commit 5a7cfe76c9
2 changed files with 100 additions and 84 deletions

View File

@@ -6,27 +6,37 @@
* 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)
* *
* Stats logging plugin - admin functions
* *
* * $URL$
* $Source: /cvs_backup/e107_0.8/e107_plugins/log/admin_config.php,v $ * $Id$
* $Revision$
* $Date$
* $Author$
*/ */
require_once("../../class2.php"); /**
if (!getperms("P") || !plugInstalled('log')) * e107 Stats logging plugin
*
* @package e107_plugins
* @subpackage log
* @version $Id$;
*
* @todo Change log directory to use new system log directory
*/
require_once('../../class2.php');
if (!getperms('P') || !e107::isInstalled('log'))
{ {
header("Location: ".e_BASE."index.php"); header('Location: '.e_BASE.'index.php');
exit; exit;
} }
require_once(e_ADMIN."auth.php");
require_once(e_HANDLER."userclass_class.php"); require_once(e_ADMIN.'auth.php');
require_once(e_HANDLER.'userclass_class.php');
define('LOGPATH', e_PLUGIN.'log/'); define('LOGPATH', e_PLUGIN.'log/');
include_lan(LOGPATH.'languages/'.e_LANGUAGE.'_admin_log.php'); include_lan(e_PLUGIN.'log/languages/'.e_LANGUAGE.'_admin_log.php');
if (e_QUERY) if (e_QUERY)
{ {

View File

@@ -2,22 +2,28 @@
/* /*
* e107 website system * e107 website system
* *
* Copyright (C) 2008-2009 e107 Inc (e107.org) * Copyright (C) 2008-2010 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)
* *
* Stats logging plugin - admin help text
* *
* $URL$
* $Id$
*/
/**
* e107 Stats logging plugin
* *
* $Source: /cvs_backup/e107_0.8/e107_plugins/log/e_help.php,v $ * @package e107_plugins
* $Revision$ * @subpackage log
* $Date$ * @version $Id$;
* $Author$
*/ */
if (!defined('e107_INIT')) { exit; } if (!defined('e107_INIT')) { exit; }
define("LOGPATH", e_PLUGIN."log/"); include_lan(e_PLUGIN.'log/languages/'.e_LANGUAGE."_log_help.php");
include_lan(LOGPATH."languages/".e_LANGUAGE."_log_help.php");
if (e_QUERY) list($action,$junk) = explode('.',e_QUERY); else $action = 'list'; if (e_QUERY) list($action,$junk) = explode('.',e_QUERY); else $action = 'list';