[geeklog-cvs] Geeklog-1.x config.php,1.254,1.255
Oliver
ospiess at qs1489.pair.com
Thu Aug 9 02:12:53 EDT 2007
Update of /usr/home/geeklog2/cvsroot/geeklog/Geeklog-1.x
In directory qs1489.pair.com:/tmp/cvs-serv33598
Modified Files:
config.php
Log Message:
adding new function that redirects to a page after saving depending on the config.php setting
Index: config.php
===================================================================
RCS file: /usr/home/geeklog2/cvsroot/geeklog/Geeklog-1.x/config.php,v
retrieving revision 1.254
retrieving revision 1.255
diff -C2 -d -r1.254 -r1.255
*** config.php 23 Jul 2007 00:29:31 -0000 1.254
--- config.php 9 Aug 2007 06:12:51 -0000 1.255
***************
*** 470,473 ****
--- 470,481 ----
$_CONF['listdraftstories'] = 0;
+ // What to show after an item has been saved? Possible choices:
+ // 'item' -> display the edited item
+ // 'list' -> display the list of items
+ // 'plugin' -> display the public homepage of the plugin, not possible for all plugins!
+ // 'home' -> display the homepage
+ // 'admin' -> display the admin homepage
+ $_CONF['aftersave'] = 'admin';
+
// Send an email notification when a new submission has been made. The contents
// of the array can be any combination of 'story', 'comment', 'trackback',
More information about the geeklog-cvs
mailing list