Note: this list is kept only as a demonstration for CVSNotice. For the latest CVS notices, see the Xaraya and Postnuke sites
View Statistics - Next Notice - Previous NoticeDirectory filter : [ all ] / postnuke_official / html / install [ view in CVS ]
| Date | Directory [filter] | File(s) [view] | Author [filter] |
| 11 Aug 2002 13:19:22 | postnuke_official/html/install | pn71.php,1.4.2.9,1.4.2.10 | John Robeson |
| startpage update | |||
Update of /home/cvsroot/postnuke_official/html/install
In directory ns7.hostnuke.net:/tmp/cvs-serv10352/html/install
Modified Files:
Tag: PostNuke_71
pn71.php
Log Message:
startpage update
Index: pn71.php
===================================================================
RCS file: /home/cvsroot/postnuke_official/html/install/Attic/pn71.php,v
retrieving revision 1.4.2.9
retrieving revision 1.4.2.10
diff -C2 -d -r1.4.2.9 -r1.4.2.10
*** pn71.php 11 Aug 2002 12:44:56 -0000 1.4.2.9
--- pn71.php 11 Aug 2002 13:19:19 -0000 1.4.2.10
***************
*** 80,86 ****
//Check for current startpage
$startpage = $dbconn->Execute("SELECT pn_value FROM ".$prefix."_module_vars
! WHERE pn_name ='startpage'");
! unserialize($startpage);
switch($startpage){
case 'AvantGo':
--- 80,87 ----
//Check for current startpage
$startpage = $dbconn->Execute("SELECT pn_value FROM ".$prefix."_module_vars
! WHERE pn_name='startpage' AND pn_modname='/PNConfig'");
+ list($startpage) = $startpage->fields;
+ $startpage = unserialize($startpage);
switch($startpage){
case 'AvantGo':
***************
*** 93,101 ****
case 'Top_List':
case 'Web_Links':
! strtolower($startpage);
}
$dbconn->Execute("UPDATE ".$prefix."_module_vars
! SET pn_value = '" .serialize($startpage). "'
WHERE pn_name = 'startpage'");
--- 94,103 ----
case 'Top_List':
case 'Web_Links':
! $startpage = strtolower($startpage);
}
+ $startpage = serialize($startpage);
$dbconn->Execute("UPDATE ".$prefix."_module_vars
! SET pn_value = '" . $startpage . "'
WHERE pn_name = 'startpage'");
View Statistics - Next Notice - Previous Notice
| Visit Developer Site - Browse CVS Repository |
Syndicate via backend.rss (max. once per hour please) | Powered by CVSNotice 0.1.3 |