[pLog-svn] r2400 - plog/branches/plog-1.0.2/class/net
pwestbro at devel.plogworld.net
pwestbro at devel.plogworld.net
Mon Aug 8 09:54:03 GMT 2005
Author: pwestbro
Date: 2005-08-08 09:54:03 +0000 (Mon, 08 Aug 2005)
New Revision: 2400
Modified:
plog/branches/plog-1.0.2/class/net/request.class.php
Log:
Fixed a problem where some constants would be defined multiple times
http://bugs.plogworld.net/view.php?id=670
Modified: plog/branches/plog-1.0.2/class/net/request.class.php
===================================================================
--- plog/branches/plog-1.0.2/class/net/request.class.php 2005-08-08 09:49:27 UTC (rev 2399)
+++ plog/branches/plog-1.0.2/class/net/request.class.php 2005-08-08 09:54:03 UTC (rev 2400)
@@ -4,9 +4,12 @@
include_once( PLOG_CLASS_PATH."class/config/properties.class.php" );
include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
- define( "CHECK_CONFIG_REQUEST_MODE", 0 );
- define( "NORMAL_REQUEST_MODE", 1 );
- define( "SEARCH_ENGINE_FRIENDLY_MODE", 2);
+ if ( !defined("CHECK_CONFIG_REQUEST_MODE") )
+ define( "CHECK_CONFIG_REQUEST_MODE", 0 );
+ if ( !defined("NORMAL_REQUEST_MODE") )
+ define( "NORMAL_REQUEST_MODE", 1 );
+ if ( !defined("SEARCH_ENGINE_FRIENDLY_MODE") )
+ define( "SEARCH_ENGINE_FRIENDLY_MODE", 2);
/**
* \ingroup Net
More information about the pLog-svn
mailing list