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 / modules / installer [ view in CVS ]
| Date | Directory [filter] | File(s) [view] | Author [filter] |
| 04 Aug 2002 02:39:01 | postnuke_official/html/modules/installer | pnadmin.php,1.1,1.2 | Paul Rosania |
| hiding phases behind api instead, for better security | |||
Update of /home/cvsroot/postnuke_official/html/modules/installer
In directory ns7.hostnuke.net:/tmp/cvs-serv11893/modules/installer
Modified Files:
pnadmin.php
Log Message:
hiding phases behind api instead, for better security
Index: pnadmin.php
===================================================================
RCS file: /home/cvsroot/postnuke_official/html/modules/installer/pnadmin.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** pnadmin.php 3 Aug 2002 03:07:51 -0000 1.1
--- pnadmin.php 4 Aug 2002 02:38:59 -0000 1.2
***************
*** 26,38 ****
// entry point for the installer
! function installer_admin_phase1() {
return array('languages' => array('eng' => 'English'));
}
! function installer_admin_phase2() {
return array();
}
! function installer_admin_phase3() {
global $HTTP_POST_VARS;
if ($HTTP_POST_VARS['agree'] != 'agree') {
--- 26,38 ----
// entry point for the installer
! function installer_adminapi_phase1() {
return array('languages' => array('eng' => 'English'));
}
! function installer_adminapi_phase2() {
return array();
}
! function installer_adminapi_phase3() {
global $HTTP_POST_VARS;
if ($HTTP_POST_VARS['agree'] != 'agree') {
***************
*** 44,48 ****
}
! function installer_admin_phase4() {
return array('database_host' => 'localhost',
'database_username' => 'root',
--- 44,48 ----
}
! function installer_adminapi_phase4() {
return array('database_host' => 'localhost',
'database_username' => 'root',
***************
*** 54,58 ****
}
! function installer_admin_phase5() {
global $HTTP_POST_VARS;
--- 54,58 ----
}
! function installer_adminapi_phase5() {
global $HTTP_POST_VARS;
***************
*** 105,108 ****
--- 105,110 ----
if ($res == false) {
// exception
+ pnExceptionSet(PN_SYSTEM_EXCEPTION, 'UNKNOWN',
+ new SystemException(__FILE__.'('.__LINE__.'): core initialization failed!'));return;
}
} else {
***************
*** 112,115 ****
--- 114,124 ----
}
+ // log user in
+
+ pnRedirect('index.php?module=installer&type=admin&func=phase5');
+ }
+
+ function installer_admin_phase5()
+ {
return array();
}
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 |