Update of /cvsroot/phpslash/phpslash-ft/public_html
In directory usw-pr-cvs1:/tmp/cvs-serv8305/phpslash-ft/public_html
Modified Files:
config-dist.ini.php3 config-dist.php3 config.php3
Log Message:
Peter C - [ 629466 ] Mainpage:Change PSL home from index.php3
Index: config-dist.ini.php3
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/config-dist.ini.php3,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** config-dist.ini.php3 23 Oct 2002 17:42:19 -0000 1.7
--- config-dist.ini.php3 28 Oct 2002 16:13:54 -0000 1.8
***************
*** 147,150 ****
--- 147,151 ----
home_section_id = 3
site_homesection = "Home"
+ mainpage = "index.php3"
; Seconds to cache the formatted output in a serialized variable
Index: config-dist.php3
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/config-dist.php3,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** config-dist.php3 24 Oct 2002 20:56:48 -0000 1.8
--- config-dist.php3 28 Oct 2002 16:13:54 -0000 1.9
***************
*** 180,184 ****
$menuitem[] = array(
'name' => "Home",
! 'link' => $_PSL['rooturl'] . "/",
'perm' => "nobody",
'module' => ""
--- 180,184 ----
$menuitem[] = array(
'name' => "Home",
! 'link' => $_PSL['rooturl'] . "/" . $_PSL['mainpage'],
'perm' => "nobody",
'module' => ""
Index: config.php3
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/config.php3,v
retrieving revision 1.155
retrieving revision 1.156
diff -C2 -d -r1.155 -r1.156
*** config.php3 23 Oct 2002 17:42:20 -0000 1.155
--- config.php3 28 Oct 2002 16:13:55 -0000 1.156
***************
*** 190,193 ****
--- 190,196 ----
$_PSL['site_homesection'] = "Home";
+ /* the name of the default (home) page when you pull up the site */
+ $_PSL['mainpage'] = 'index.php3';
+
/* when you turn these on you'll probably get a full table scan! */
$_PSL['article_nextprevlinks'] = true;
***************
*** 336,340 ****
$menuitem[] = array(
'name' => "Home",
! 'link' => $_PSL['rooturl'] . "/",
'perm' => "nobody",
'module' => ""
--- 339,343 ----
$menuitem[] = array(
'name' => "Home",
! 'link' => $_PSL['rooturl'] . "/" . $_PSL['mainpage'],
'perm' => "nobody",
'module' => ""
|