[pLog-svn] r593 - in plog/trunk/class: bayesian config dao data/validator data/validator/rules mail misc net object view/admin

oscar at devel.plogworld.net oscar at devel.plogworld.net
Wed Dec 29 00:59:12 GMT 2004


Author: oscar
Date: 2004-12-29 00:59:12 +0000 (Wed, 29 Dec 2004)
New Revision: 593

Modified:
   plog/trunk/class/bayesian/bayesiantokenizer.class.php
   plog/trunk/class/config/config.class.php
   plog/trunk/class/config/configabstractstorage.class.php
   plog/trunk/class/config/configfilestorage.class.php
   plog/trunk/class/dao/articlecomments.class.php
   plog/trunk/class/dao/articlenotifications.class.php
   plog/trunk/class/dao/trackbackclient.class.php
   plog/trunk/class/dao/userpermissions.class.php
   plog/trunk/class/data/validator/passwordvalidator.class.php
   plog/trunk/class/data/validator/rules/emaildnsrule.class.php
   plog/trunk/class/data/validator/rules/emailformatrule.class.php
   plog/trunk/class/data/validator/rules/equalrule.class.php
   plog/trunk/class/data/validator/rules/intrule.class.php
   plog/trunk/class/data/validator/rules/ipcidrformatrule.class.php
   plog/trunk/class/data/validator/rules/ipformatrule.class.php
   plog/trunk/class/data/validator/rules/iprangerule.class.php
   plog/trunk/class/data/validator/rules/nonemptyrule.class.php
   plog/trunk/class/data/validator/rules/numericrule.class.php
   plog/trunk/class/data/validator/rules/rangerule.class.php
   plog/trunk/class/data/validator/rules/regexprule.class.php
   plog/trunk/class/data/validator/rules/uintrule.class.php
   plog/trunk/class/data/validator/uploadvalidator.class.php
   plog/trunk/class/mail/emailmessage.class.php
   plog/trunk/class/misc/version.class.php
   plog/trunk/class/net/request.class.php
   plog/trunk/class/net/requestgenerator.class.php
   plog/trunk/class/object/object.class.php
   plog/trunk/class/view/admin/adminloginview.class.php
Log:
fixed a lot of include() in the code that were not using double quotes in the name of the defined constant and it was generating annoying warnings by the php parser

Modified: plog/trunk/class/bayesian/bayesiantokenizer.class.php
===================================================================
--- plog/trunk/class/bayesian/bayesiantokenizer.class.php	2004-12-29 00:37:21 UTC (rev 592)
+++ plog/trunk/class/bayesian/bayesiantokenizer.class.php	2004-12-29 00:59:12 UTC (rev 593)
@@ -8,7 +8,7 @@
     include_once( PLOG_CLASS_PATH."class/dao/bayesiantoken.class.php" );
 	include_once( PLOG_CLASS_PATH."class/bayesian/tokenizer.class.php" );
 
-	define(SPLIT_REG_EXP, "[^a-zA-Z0-9àáèéíïòóúüÀÁÈÉÍÏÒÓÚÜ'$!,.^-]+");
+	define( "SPLIT_REG_EXP", "[^a-zA-Z0-9àáèéíïòóúüÀÁÈÉÍÏÒÓÚÜ'$!,.^-]+");
 
     /**
      * Filters the text posted in a comment by a user, to prevent spam-bots. This

Modified: plog/trunk/class/config/config.class.php
===================================================================
--- plog/trunk/class/config/config.class.php	2004-12-29 00:37:21 UTC (rev 592)
+++ plog/trunk/class/config/config.class.php	2004-12-29 00:59:12 UTC (rev 593)
@@ -10,7 +10,7 @@
     /**
      * Set it to either "file" or "db"
      */
-    define( DEFAULT_STORAGE_BACKEND, "db" );
+    define( "DEFAULT_STORAGE_BACKEND", "db" );
 
     /**
      * Extends the Properties class so that our own configuration file is automatically loaded.

Modified: plog/trunk/class/config/configabstractstorage.class.php
===================================================================
--- plog/trunk/class/config/configabstractstorage.class.php	2004-12-29 00:37:21 UTC (rev 592)
+++ plog/trunk/class/config/configabstractstorage.class.php	2004-12-29 00:59:12 UTC (rev 593)
@@ -7,12 +7,12 @@
 
 	include_once( PLOG_CLASS_PATH."class/object/object.class.php" );
 
-    define( TYPE_INTEGER, 1 );
-    define( TYPE_BOOLEAN, 2 );
-    define( TYPE_STRING,  3 );
-    define( TYPE_OBJECT,  4 );
-    define( TYPE_ARRAY,   5 );
-    define( TYPE_FLOAT,   6 );
+    define( "TYPE_INTEGER", 1 );
+    define( "TYPE_BOOLEAN", 2 );
+    define( "TYPE_STRING",  3 );
+    define( "TYPE_OBJECT",  4 );
+    define( "TYPE_ARRAY",   5 );
+    define( "TYPE_FLOAT",   6 );
 
     /**
      * Interface class that defines the methods that should be implemented

Modified: plog/trunk/class/config/configfilestorage.class.php
===================================================================
--- plog/trunk/class/config/configfilestorage.class.php	2004-12-29 00:37:21 UTC (rev 592)
+++ plog/trunk/class/config/configfilestorage.class.php	2004-12-29 00:59:12 UTC (rev 593)
@@ -10,7 +10,7 @@
     include_once( PLOG_CLASS_PATH."class/config/configabstractstorage.class.php" );
 
     if (!defined("DEFAULT_CONFIG_FILE")) {
-		define( DEFAULT_CONFIG_FILE, PLOG_CLASS_PATH."config/config.properties.php" );
+		define( "DEFAULT_CONFIG_FILE", PLOG_CLASS_PATH."config/config.properties.php" );
 	}
 
     /**

Modified: plog/trunk/class/dao/articlecomments.class.php
===================================================================
--- plog/trunk/class/dao/articlecomments.class.php	2004-12-29 00:37:21 UTC (rev 592)
+++ plog/trunk/class/dao/articlecomments.class.php	2004-12-29 00:59:12 UTC (rev 593)
@@ -9,8 +9,8 @@
 	include_once( PLOG_CLASS_PATH."class/dao/usercomment.class.php" );
 	include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
 
-	define( COMMENT_ORDER_OLDEST_FIRST, 1 );
-	define( COMMENT_ORDER_NEWEST_FIRST, 2 );
+	define( "COMMENT_ORDER_OLDEST_FIRST", 1 );
+	define( "COMMENT_ORDER_NEWEST_FIRST", 2 );
 
     /**
      * Model for the comments each article can have

Modified: plog/trunk/class/dao/articlenotifications.class.php
===================================================================
--- plog/trunk/class/dao/articlenotifications.class.php	2004-12-29 00:37:21 UTC (rev 592)
+++ plog/trunk/class/dao/articlenotifications.class.php	2004-12-29 00:59:12 UTC (rev 593)
@@ -13,7 +13,7 @@
     include_once( PLOG_CLASS_PATH."class/dao/userinfo.class.php" );
 	include_once( PLOG_CLASS_PATH."class/template/templateservice.class.php" );
 
-    define( EMAILNOTIFIER_TEMPLATE, "email_notifier" );
+    define( "EMAILNOTIFIER_TEMPLATE", "email_notifier" );
 
     /**
      * Accesses the database to create and fetch article notifications.

Modified: plog/trunk/class/dao/trackbackclient.class.php
===================================================================
--- plog/trunk/class/dao/trackbackclient.class.php	2004-12-29 00:37:21 UTC (rev 592)
+++ plog/trunk/class/dao/trackbackclient.class.php	2004-12-29 00:59:12 UTC (rev 593)
@@ -10,9 +10,9 @@
     include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
     include_once( PLOG_CLASS_PATH."class/net/requestgenerator.class.php" );
 
-    define( TRACKBACK_SUCCESS, 0 );
-    define( TRACKBACK_FAILED, 1 );
-    define( TRACKBACK_UNAVAILABLE, 2 );
+    define( "TRACKBACK_SUCCESS", 0 );
+    define( "TRACKBACK_FAILED", 1 );
+    define( "TRACKBACK_UNAVAILABLE", 2 );
 
     /**
      * Implementation of a very simple Trackback client. It is capable of autodiscovering

Modified: plog/trunk/class/dao/userpermissions.class.php
===================================================================
--- plog/trunk/class/dao/userpermissions.class.php	2004-12-29 00:37:21 UTC (rev 592)
+++ plog/trunk/class/dao/userpermissions.class.php	2004-12-29 00:59:12 UTC (rev 593)
@@ -12,9 +12,9 @@
     //
     // :KLUDGE: This should be done in a better way...
     //
-    define( PERMISSION_SITE_ADMIN, 1 );
-    define( PERMISSION_BLOG_USER, 2 );
-    define( PERMISSION_BLOG_OWNER, 3 );
+    define( "PERMISSION_SITE_ADMIN", 1 );
+    define( "PERMISSION_BLOG_USER", 2 );
+    define( "PERMISSION_BLOG_OWNER", 3 );
 
     /**
      * Handles user permissions.

Modified: plog/trunk/class/data/validator/passwordvalidator.class.php
===================================================================
--- plog/trunk/class/data/validator/passwordvalidator.class.php	2004-12-29 00:37:21 UTC (rev 592)
+++ plog/trunk/class/data/validator/passwordvalidator.class.php	2004-12-29 00:59:12 UTC (rev 593)
@@ -10,10 +10,10 @@
     include_once( PLOG_CLASS_PATH."class/data/validator/rules/nonemptyrule.class.php" );
     include_once( PLOG_CLASS_PATH."class/data/validator/rules/rangerule.class.php" );    
 
-    define( MIN_PASSWORD_LENGTH_DEFAULT, 6 );
+    define( "MIN_PASSWORD_LENGTH_DEFAULT", 6 );
 
-    define( ERROR_PASSWORD_TOO_SHORT, 1 );
-    define( ERROR_PASSWORD_EMPTY, 2 );
+    define( "ERROR_PASSWORD_TOO_SHORT", 1 );
+    define( "ERROR_PASSWORD_EMPTY", 2 );
 
     /**
      * Checks passwords

Modified: plog/trunk/class/data/validator/rules/emaildnsrule.class.php
===================================================================
--- plog/trunk/class/data/validator/rules/emaildnsrule.class.php	2004-12-29 00:37:21 UTC (rev 592)
+++ plog/trunk/class/data/validator/rules/emaildnsrule.class.php	2004-12-29 00:59:12 UTC (rev 593)
@@ -4,8 +4,8 @@
     include_once(PLOG_CLASS_PATH."class/net/dns.class.php");
     include_once(PLOG_CLASS_PATH."class/net/http/httpvars.class.php");
 
-    define(ERROR_RULE_EMAIL_DNS_SERVER_UNREACHABLE, "error_rule_email_dns_server_unreachable");
-    define(ERROR_RULE_EMAIL_DNS_NOT_PERMITTED, "error_rule_email_dns_not_permitted");
+    define( "ERROR_RULE_EMAIL_DNS_SERVER_UNREACHABLE", "error_rule_email_dns_server_unreachable");
+    define( "ERROR_RULE_EMAIL_DNS_NOT_PERMITTED", "error_rule_email_dns_not_permitted");
 
     /**
      * This is an implementation of the 'Strategy' pattern as it can be seen

Modified: plog/trunk/class/data/validator/rules/emailformatrule.class.php
===================================================================
--- plog/trunk/class/data/validator/rules/emailformatrule.class.php	2004-12-29 00:37:21 UTC (rev 592)
+++ plog/trunk/class/data/validator/rules/emailformatrule.class.php	2004-12-29 00:59:12 UTC (rev 593)
@@ -2,8 +2,8 @@
 
     include_once(PLOG_CLASS_PATH."class/data/validator/rules/regexprule.class.php");
 
-    define(EMAIL_FORMAT_RULE_REG_EXP, "^[a-z0-9]+([-_\.]?[a-z0-9])+@[a-z0-9]+([-_\.]?[a-z0-9])+\.[a-z]{2,4}");
-    define(ERROR_RULE_EMAIL_FORMAT_WRONG, "error_rule_email_format_wrong");
+    define( "EMAIL_FORMAT_RULE_REG_EXP", "^[a-z0-9]+([-_\.]?[a-z0-9])+@[a-z0-9]+([-_\.]?[a-z0-9])+\.[a-z]{2,4}");
+    define( "ERROR_RULE_EMAIL_FORMAT_WRONG", "error_rule_email_format_wrong");
 
     /**
      * This is an implementation of the 'Strategy' pattern as it can be seen

Modified: plog/trunk/class/data/validator/rules/equalrule.class.php
===================================================================
--- plog/trunk/class/data/validator/rules/equalrule.class.php	2004-12-29 00:37:21 UTC (rev 592)
+++ plog/trunk/class/data/validator/rules/equalrule.class.php	2004-12-29 00:59:12 UTC (rev 593)
@@ -2,8 +2,8 @@
 
     include_once(PLOG_CLASS_PATH."class/data/validator/rules/rule.class.php");
 
-    define(DEFAULT_RULE_CASE_SENSITIVE, true);
-    define(ERROR_RULE_VALUES_NOT_EQUAL, "error_rule_values_not_equal");
+    define( "DEFAULT_RULE_CASE_SENSITIVE", true);
+    define( "ERROR_RULE_VALUES_NOT_EQUAL", "error_rule_values_not_equal");
 
     /**
      * This is an implementation of the 'Strategy' pattern as it can be seen

Modified: plog/trunk/class/data/validator/rules/intrule.class.php
===================================================================
--- plog/trunk/class/data/validator/rules/intrule.class.php	2004-12-29 00:37:21 UTC (rev 592)
+++ plog/trunk/class/data/validator/rules/intrule.class.php	2004-12-29 00:59:12 UTC (rev 593)
@@ -2,8 +2,8 @@
 
     include_once(PLOG_CLASS_PATH."class/data/validator/rules/regexprule.class.php");
 
-    define(INT_RULE_REG_EXP, "^(-?[1-9][0-9]*)|0$");
-    define(ERROR_RULE_INT_FORMAT_WRONG, "error_rule_int_format_wrong");
+    define( "INT_RULE_REG_EXP", "^(-?[1-9][0-9]*)|0$");
+    define( "ERROR_RULE_INT_FORMAT_WRONG", "error_rule_int_format_wrong");
 
     /**
      * This is an implementation of the 'Strategy' pattern as it can be seen

Modified: plog/trunk/class/data/validator/rules/ipcidrformatrule.class.php
===================================================================
--- plog/trunk/class/data/validator/rules/ipcidrformatrule.class.php	2004-12-29 00:37:21 UTC (rev 592)
+++ plog/trunk/class/data/validator/rules/ipcidrformatrule.class.php	2004-12-29 00:59:12 UTC (rev 593)
@@ -2,8 +2,8 @@
 
     include_once(PLOG_CLASS_PATH."class/data/validator/rules/regexprule.class.php");
 
-    define(IP_CIDR_FORMAT_RULE_REG_EXP, "^([0-9]{1,3})\\.([0-9]{1,3})\\.([0-9]{1,3})\\.([0-9]{1,3})/([0-9]{1,2})$");
-    define(ERROR_RULE_IP_CIDR_FORMAT_WRONG, "error_rule_ip_cidr_format_wrong");
+    define( "IP_CIDR_FORMAT_RULE_REG_EXP", "^([0-9]{1,3})\\.([0-9]{1,3})\\.([0-9]{1,3})\\.([0-9]{1,3})/([0-9]{1,2})$");
+    define( "ERROR_RULE_IP_CIDR_FORMAT_WRONG", "error_rule_ip_cidr_format_wrong");
 
     /**
      * This is an implementation of the 'Strategy' pattern as it can be seen

Modified: plog/trunk/class/data/validator/rules/ipformatrule.class.php
===================================================================
--- plog/trunk/class/data/validator/rules/ipformatrule.class.php	2004-12-29 00:37:21 UTC (rev 592)
+++ plog/trunk/class/data/validator/rules/ipformatrule.class.php	2004-12-29 00:59:12 UTC (rev 593)
@@ -2,8 +2,8 @@
 
     include_once(PLOG_CLASS_PATH."class/data/validator/rules/regexprule.class.php");
 
-    define(IP_FORMAT_RULE_REG_EXP, "^([0-9]{1,3})\\.([0-9]{1,3})\\.([0-9]{1,3})\\.([0-9]{1,3})$");
-    define(ERROR_RULE_IP_FORMAT_WRONG, "error_rule_ip_format_wrong");
+    define( "IP_FORMAT_RULE_REG_EXP", "^([0-9]{1,3})\\.([0-9]{1,3})\\.([0-9]{1,3})\\.([0-9]{1,3})$");
+    define( "ERROR_RULE_IP_FORMAT_WRONG", "error_rule_ip_format_wrong");
 
     /**
      * This is an implementation of the 'Strategy' pattern as it can be seen

Modified: plog/trunk/class/data/validator/rules/iprangerule.class.php
===================================================================
--- plog/trunk/class/data/validator/rules/iprangerule.class.php	2004-12-29 00:37:21 UTC (rev 592)
+++ plog/trunk/class/data/validator/rules/iprangerule.class.php	2004-12-29 00:59:12 UTC (rev 593)
@@ -2,7 +2,7 @@
 
     include_once( PLOG_CLASS_PATH."class/data/validator/rules/rule.class.php");
 
-    define(ERROR_RULE_IP_NOT_IN_RANGE, "error_rule_ip_not_in_range");
+    define( "ERROR_RULE_IP_NOT_IN_RANGE", "error_rule_ip_not_in_range");
 
     /**
      * This is an implementation of the 'Strategy' pattern as it can be seen

Modified: plog/trunk/class/data/validator/rules/nonemptyrule.class.php
===================================================================
--- plog/trunk/class/data/validator/rules/nonemptyrule.class.php	2004-12-29 00:37:21 UTC (rev 592)
+++ plog/trunk/class/data/validator/rules/nonemptyrule.class.php	2004-12-29 00:59:12 UTC (rev 593)
@@ -2,7 +2,7 @@
 
     include_once(PLOG_CLASS_PATH."class/data/validator/rules/rule.class.php");
 
-    define(ERROR_RULE_VALUE_IS_EMPTY, "error_rule_value_is_empty");
+    define( "ERROR_RULE_VALUE_IS_EMPTY", "error_rule_value_is_empty");
 
     /**
      * Validates if a string is empty or not

Modified: plog/trunk/class/data/validator/rules/numericrule.class.php
===================================================================
--- plog/trunk/class/data/validator/rules/numericrule.class.php	2004-12-29 00:37:21 UTC (rev 592)
+++ plog/trunk/class/data/validator/rules/numericrule.class.php	2004-12-29 00:59:12 UTC (rev 593)
@@ -2,8 +2,8 @@
 
     include_once( PLOG_CLASS_PATH."class/data/validator/rules/regexprule.class.php");
 
-    define(NUMERIC_RULE_REG_EXP, "^[0-9]+$");
-    define(ERROR_RULE_NUMERIC_FORMAT_WRONG, "error_rule_numeric_format_wrong");
+    define( "NUMERIC_RULE_REG_EXP", "^[0-9]+$");
+    define( "ERROR_RULE_NUMERIC_FORMAT_WRONG", "error_rule_numeric_format_wrong");
 
     /**
      * This is an implementation of the 'Strategy' pattern as it can be seen

Modified: plog/trunk/class/data/validator/rules/rangerule.class.php
===================================================================
--- plog/trunk/class/data/validator/rules/rangerule.class.php	2004-12-29 00:37:21 UTC (rev 592)
+++ plog/trunk/class/data/validator/rules/rangerule.class.php	2004-12-29 00:59:12 UTC (rev 593)
@@ -2,8 +2,8 @@
 
     include_once( PLOG_CLASS_PATH."class/data/validator/rules/rule.class.php");
 
-    define(ERROR_RULE_TOO_SMALL, "error_rule_too_small");
-    define(ERROR_RULE_TOO_LARGE, "error_rule_too_large");
+    define( "ERROR_RULE_TOO_SMALL", "error_rule_too_small");
+    define( "ERROR_RULE_TOO_LARGE", "error_rule_too_large");
 
     /**
      * This is an implementation of the 'Strategy' pattern as it can be seen

Modified: plog/trunk/class/data/validator/rules/regexprule.class.php
===================================================================
--- plog/trunk/class/data/validator/rules/regexprule.class.php	2004-12-29 00:37:21 UTC (rev 592)
+++ plog/trunk/class/data/validator/rules/regexprule.class.php	2004-12-29 00:59:12 UTC (rev 593)
@@ -2,8 +2,8 @@
 
     include_once( PLOG_CLASS_PATH."class/data/validator/rules/rule.class.php");
 
-    define(DEFAULT_RULE_CASE_SENSITIVE, true);
-    define(ERROR_RULE_REGEXP_NOT_MATCH, "error_rule_regexp_not_match");
+    define( "DEFAULT_RULE_CASE_SENSITIVE", true);
+    define( "ERROR_RULE_REGEXP_NOT_MATCH", "error_rule_regexp_not_match");
 
     /**
      * This is an implementation of the 'Strategy' pattern as it can be seen

Modified: plog/trunk/class/data/validator/rules/uintrule.class.php
===================================================================
--- plog/trunk/class/data/validator/rules/uintrule.class.php	2004-12-29 00:37:21 UTC (rev 592)
+++ plog/trunk/class/data/validator/rules/uintrule.class.php	2004-12-29 00:59:12 UTC (rev 593)
@@ -2,8 +2,8 @@
 
     include_once(PLOG_CLASS_PATH."class/data/validator/rules/regexprule.class.php");
 
-    define(UINT_RULE_REG_EXP, "^([1-9][0-9]*)|0$");
-    define(ERROR_RULE_UINT_FORMAT_WRONG, "error_rule_uint_format_wrong");
+    define( "UINT_RULE_REG_EXP", "^([1-9][0-9]*)|0$");
+    define( "ERROR_RULE_UINT_FORMAT_WRONG", "error_rule_uint_format_wrong");
 
     /**
      * This is an implementation of the 'Strategy' pattern as it can be seen

Modified: plog/trunk/class/data/validator/uploadvalidator.class.php
===================================================================
--- plog/trunk/class/data/validator/uploadvalidator.class.php	2004-12-29 00:37:21 UTC (rev 592)
+++ plog/trunk/class/data/validator/uploadvalidator.class.php	2004-12-29 00:59:12 UTC (rev 593)
@@ -9,10 +9,10 @@
 	include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
     include_once( PLOG_CLASS_PATH."class/misc/glob.class.php" );	
 
-	define( UPLOAD_MAX_SIZE, 2000000 );
+	define( "UPLOAD_MAX_SIZE", 2000000 );
 
-    define( UPLOAD_VALIDATOR_ERROR_UPLOAD_TOO_BIG, -1 );
-    define( UPLOAD_VALIDATOR_ERROR_FORBIDDEN_EXTENSION, -2 );
+    define( "UPLOAD_VALIDATOR_ERROR_UPLOAD_TOO_BIG", -1 );
+    define( "UPLOAD_VALIDATOR_ERROR_FORBIDDEN_EXTENSION", -2 );
 
 	/**
      * This class is designed for administrators who want to have some rules on what can

Modified: plog/trunk/class/mail/emailmessage.class.php
===================================================================
--- plog/trunk/class/mail/emailmessage.class.php	2004-12-29 00:37:21 UTC (rev 592)
+++ plog/trunk/class/mail/emailmessage.class.php	2004-12-29 00:59:12 UTC (rev 593)
@@ -7,7 +7,7 @@
 
 	include_once( PLOG_CLASS_PATH."class/object/object.class.php" );
 
-    define( MAX_LINE_LENGTH, 998 );
+    define( "MAX_LINE_LENGTH", 998 );
 
 	/**
      * Represents an email message.

Modified: plog/trunk/class/misc/version.class.php
===================================================================
--- plog/trunk/class/misc/version.class.php	2004-12-29 00:37:21 UTC (rev 592)
+++ plog/trunk/class/misc/version.class.php	2004-12-29 00:59:12 UTC (rev 593)
@@ -8,10 +8,10 @@
 	include_once( PLOG_CLASS_PATH."class/object/object.class.php" );
 	include_once( PLOG_CLASS_PATH."class/file/file.class.php" );
 
-    define( "PLOG_PROJECT_PAGE", "http://www.plogworld.org" );
+    define( "PLOG_PROJECT_PAGE", "http://www.plogworld.net" );
 	
     if (!defined("DEFAULT_VERSION_FILE")) {
-		define( DEFAULT_VERSION_FILE, PLOG_CLASS_PATH . "version.php" );
+		define( "DEFAULT_VERSION_FILE", PLOG_CLASS_PATH . "version.php" );
 	}	
 
     /**

Modified: plog/trunk/class/net/request.class.php
===================================================================
--- plog/trunk/class/net/request.class.php	2004-12-29 00:37:21 UTC (rev 592)
+++ plog/trunk/class/net/request.class.php	2004-12-29 00:59:12 UTC (rev 593)
@@ -9,9 +9,9 @@
 	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);
+    define( "CHECK_CONFIG_REQUEST_MODE", 0 );
+    define( "NORMAL_REQUEST_MODE", 1 );
+    define( "SEARCH_ENGINE_FRIENDLY_MODE", 2);
 
     /**
      * Represents a request in our system. Doing so we can in the future

Modified: plog/trunk/class/net/requestgenerator.class.php
===================================================================
--- plog/trunk/class/net/requestgenerator.class.php	2004-12-29 00:37:21 UTC (rev 592)
+++ plog/trunk/class/net/requestgenerator.class.php	2004-12-29 00:59:12 UTC (rev 593)
@@ -1,17 +1,17 @@
 <?php
-
-    /**
-     * @package net
-     */
-
 
+    /**
+     * @package net
+     */
+
+
 	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 );
-    define( MODREWRITE_MODE, 3 );
-    define( CUSTOM_REQUEST_MODE, 4 );    
+    define( "CHECK_CONFIG_REQUEST_MODE", 0 );
+    define( "NORMAL_REQUEST_MODE", 1 );
+    define( "SEARCH_ENGINE_FRIENDLY_MODE", 2 );
+    define( "MODREWRITE_MODE", 3 );
+    define( "CUSTOM_REQUEST_MODE", 4 );    
 
 	class RequestGenerator extends Object 
 	{

Modified: plog/trunk/class/object/object.class.php
===================================================================
--- plog/trunk/class/object/object.class.php	2004-12-29 00:37:21 UTC (rev 592)
+++ plog/trunk/class/object/object.class.php	2004-12-29 00:59:12 UTC (rev 593)
@@ -16,7 +16,7 @@
      * path to the configuration file for log4php. This needs to be done *before* we
      * even include the LoggerManage from log4php
      */
-    define( LOG4PHP_CONFIGURATION, PLOG_CLASS_PATH."config/log4php.properties" ); 
+    define( "LOG4PHP_CONFIGURATION", PLOG_CLASS_PATH."config/log4php.properties" ); 
 
     if(PHP_VERSION < 5)
 	    include_once( PLOG_CLASS_PATH."class/object/exception.class.php" );

Modified: plog/trunk/class/view/admin/adminloginview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminloginview.class.php	2004-12-29 00:37:21 UTC (rev 592)
+++ plog/trunk/class/view/admin/adminloginview.class.php	2004-12-29 00:59:12 UTC (rev 593)
@@ -9,7 +9,7 @@
     include_once( PLOG_CLASS_PATH."class/template/template.class.php" );
 	include_once( PLOG_CLASS_PATH."class/locale/locales.class.php" );
 
-	define( ADMINLOGIN_TEMPLATE, "chooseblog" );
+	define( "ADMINLOGIN_TEMPLATE", "chooseblog" );
 
     /**
      * Generates the view shown just after filling in the login form




More information about the pLog-svn mailing list