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 05:07:18 | postnuke_official/html/modules/installer | pnadmin.php,1.3,1.4 | Paul Rosania |
permissions set up - all steps after table creation will check perms |
Update of /home/cvsroot/postnuke_official/html/modules/installer In directory ns7.hostnuke.net:/tmp/cvs-serv27330/installer Modified Files: pnadmin.php Log Message: permissions set up - all steps after table creation will check perms Index: pnadmin.php =================================================================== RCS file: /home/cvsroot/postnuke_official/html/modules/installer/pnadmin.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** pnadmin.php 4 Aug 2002 04:31:30 -0000 1.3 --- pnadmin.php 4 Aug 2002 05:07:16 -0000 1.4 *************** *** 28,31 **** --- 28,32 ---- function installer_admin_bootstrap() { + // log in admin user $res = pnUserLogIn('admin', 'password', false); if (!isset($res) && pnExceptionMajor() != PN_NO_EXCEPTION) { *************** *** 38,42 **** function installer_admin_create_administrator() ! {echo 'logged in? '.pnUserLoggedIn(); return array(); } --- 39,47 ---- function installer_admin_create_administrator() ! { ! if (!pnSecAuthAction(0, 'Installer::', '::', ACCESS_ADMIN)) { ! pnExceptionSet(PN_SYSTEM_EXCEPTION, 'NO_PERMISSION', ! new SystemException(__FILE__."(".__LINE__."): You do not have permission to access the Installer module."));return; ! } 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 |