1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 14:17:49 +02:00

More cleanup

This commit is contained in:
CaMer0n
2012-08-11 02:05:22 +00:00
parent d49c85f9f0
commit 3a44372559
7 changed files with 12 additions and 5 deletions

View File

@@ -17,6 +17,9 @@
/* first thing to do is check if the log file is out of date ... */ /* first thing to do is check if the log file is out of date ... */
// $pathtologs = e_PLUGIN."log/logs/"; // $pathtologs = e_PLUGIN."log/logs/";
if (!defined('e107_INIT')){ exit; }
$pathtologs = e_LOG; $pathtologs = e_LOG;
$date = date("z.Y", time()); $date = date("z.Y", time());
$yesterday = date("z.Y",(time() - 86400)); // This makes sure year wraps round OK $yesterday = date("z.Y",(time() - 86400)); // This makes sure year wraps round OK

View File

@@ -25,6 +25,7 @@
// Normally the file is 'silent' - if any errors occur, not sure where they'll appear - (file type now text/html instead of text/css) // Normally the file is 'silent' - if any errors occur, not sure where they'll appear - (file type now text/html instead of text/css)
*/ */
error_reporting(0);
define('log_INIT', TRUE); define('log_INIT', TRUE);
// Array of page names which should have individual query values recorded. // Array of page names which should have individual query values recorded.

View File

@@ -23,7 +23,7 @@
* @subpackage login * @subpackage login
* @version $Id$; * @version $Id$;
*/ */
if (!defined('e107_INIT')){ exit; }
if ( ! isset($LOGIN_MENU_FORM)) if ( ! isset($LOGIN_MENU_FORM))
{ {

View File

@@ -2,10 +2,8 @@
//--------------------------------------------------------------- //---------------------------------------------------------------
// BEGIN CONFIGURATION AREA // BEGIN CONFIGURATION AREA
//--------------------------------------------------------------- //---------------------------------------------------------------
if (!defined('e107_INIT')){ exit; }
if(file_exists(e_PLUGIN."eXMLRPC/languages/".e_LANGUAGE.".php")){ include_lan(e_PLUGIN."metaweblog/languages/".e_LANGUAGE.".php");
@include_once(e_PLUGIN."eXMLRPC/languages/".e_LANGUAGE.".php");
}
$helptitle = XMLRPC_HELP_001; $helptitle = XMLRPC_HELP_001;
// //

View File

@@ -7,6 +7,8 @@
* PM Default URL configuration * PM Default URL configuration
* TODO - SEF URL configuration * TODO - SEF URL configuration
*/ */
if (!defined('e107_INIT')){ exit; }
class plugin_pm_url extends eUrlConfig class plugin_pm_url extends eUrlConfig
{ {
public function config() public function config()

View File

@@ -14,6 +14,7 @@
* $Author$ * $Author$
* *
*/ */
if (!defined('e107_INIT')){ exit; }
global $tag; global $tag;

View File

@@ -6,6 +6,8 @@
* *
* Tagwords Default URL configuration * Tagwords Default URL configuration
*/ */
if (!defined('e107_INIT')){ exit; }
class plugin_tagwords_url extends eUrlConfig class plugin_tagwords_url extends eUrlConfig
{ {
public function config() public function config()