mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 22:27:34 +02:00
More cleanup
This commit is contained in:
@@ -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
|
||||||
|
@@ -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.
|
||||||
|
@@ -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))
|
||||||
{
|
{
|
||||||
|
@@ -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;
|
||||||
//
|
//
|
||||||
|
@@ -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()
|
||||||
|
@@ -14,6 +14,7 @@
|
|||||||
* $Author$
|
* $Author$
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
if (!defined('e107_INIT')){ exit; }
|
||||||
|
|
||||||
global $tag;
|
global $tag;
|
||||||
|
|
||||||
|
@@ -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()
|
||||||
|
Reference in New Issue
Block a user