mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 01:19:44 +01:00
More cleanup
This commit is contained in:
parent
d49c85f9f0
commit
3a44372559
@ -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
|
||||
|
@ -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.
|
||||
|
@ -23,7 +23,7 @@
|
||||
* @subpackage login
|
||||
* @version $Id$;
|
||||
*/
|
||||
|
||||
if (!defined('e107_INIT')){ exit; }
|
||||
|
||||
if ( ! isset($LOGIN_MENU_FORM))
|
||||
{
|
||||
|
@ -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;
|
||||
//
|
||||
|
@ -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()
|
||||
|
@ -14,6 +14,7 @@
|
||||
* $Author$
|
||||
*
|
||||
*/
|
||||
if (!defined('e107_INIT')){ exit; }
|
||||
|
||||
global $tag;
|
||||
|
||||
|
@ -6,6 +6,8 @@
|
||||
*
|
||||
* Tagwords Default URL configuration
|
||||
*/
|
||||
if (!defined('e107_INIT')){ exit; }
|
||||
|
||||
class plugin_tagwords_url extends eUrlConfig
|
||||
{
|
||||
public function config()
|
||||
|
Loading…
x
Reference in New Issue
Block a user