1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-14 01:19:44 +01: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 ... */
// $pathtologs = e_PLUGIN."log/logs/";
if (!defined('e107_INIT')){ exit; }
$pathtologs = e_LOG;
$date = date("z.Y", time());
$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)
*/
error_reporting(0);
define('log_INIT', TRUE);
// Array of page names which should have individual query values recorded.

View File

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

View File

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

View File

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

View File

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

View File

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