[geeklog-cvs] geeklog-1.3 config.php,1.129,1.130

blaine at iowaoutdoors.org blaine at iowaoutdoors.org
Sun Aug 15 15:57:50 EDT 2004


Update of /var/cvs/geeklog-1.3
In directory www:/tmp/cvs-serv5510

Modified Files:
	config.php 
Log Message:
Added support for new DEFINES in config.php to be used for the Story Status field to indicate ArchiveStoryOnExpiry or DeleteStoryOnExpiry. Also corrected logic in index.php to find and handle expired stories.

Index: config.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/config.php,v
retrieving revision 1.129
retrieving revision 1.130
diff -C2 -d -r1.129 -r1.130
*** config.php	13 Aug 2004 08:54:49 -0000	1.129
--- config.php	15 Aug 2004 19:57:48 -0000	1.130
***************
*** 709,712 ****
--- 709,717 ----
  
  // Define a few useful things for GL
+ 
+ /* Story Record Options for the STATUS Field */
+ define('STORY_ARCHIVE_ON_EXPIRE', '10');
+ define('STORY_DELETE_ON_EXPIRE', '11');
+ 
  if (!defined ('LB')) {
      define('LB',"\n");




More information about the geeklog-cvs mailing list