Xaraya / Postnuke CVS Notices - Message

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 Notice

Directory filter : [ all ] / postnuke_official / html / modules / installer [ view in CVS ]

Date Directory [filter] File(s) [view] Author [filter]
04 Aug 2002 20:18:25postnuke_official/html/modules/installerpnadmin.php,1.4,1.5Paul Rosania
 latest updates

Update of /home/cvsroot/postnuke_official/html/modules/installer
In directory ns7.hostnuke.net:/tmp/cvs-serv22208/modules/installer

Modified Files:
	pnadmin.php 
Log Message:
latest updates


Index: pnadmin.php
===================================================================
RCS file: /home/cvsroot/postnuke_official/html/modules/installer/pnadmin.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** pnadmin.php	4 Aug 2002 05:07:16 -0000	1.4
--- pnadmin.php	4 Aug 2002 20:18:23 -0000	1.5
***************
*** 44,48 ****
                         new SystemException(__FILE__."(".__LINE__."): You do not have permission to access the Installer module."));return;
      }
!     return array();
  }
  
--- 44,76 ----
                         new SystemException(__FILE__."(".__LINE__."): You do not have permission to access the Installer module."));return;
      }
!     
!     if (!pnVarCleanFromInput('create')) {
!         return array();
!     }
!     
!     list ($username,
!           $name,
!           $password,
!           $email,
!           $url) = pnVarCleanFromInput('install_admin_username',
!                                        'install_admin_name',
!                                        'install_admin_password',
!                                        'install_admin_email',
!                                        'install_admin_url');
!                                        
!     $res = pnModAPILoad('users', 'admin');
!     if (!isset($res) && pnExceptionMajor() != PN_NO_EXCEPTION) {
!         return;
!     }
!     
!     $res = pnModAPIFunc('users', 'admin', 'update_user', array('uid'   => 2,
!                                                                'name'  => $name
!                                                                'uname' => $username,
!                                                                'email' => $email,
!                                                                'pass'  => $password,
!                                                                'url'   => $url));
!     if (!isset($res) && pnExceptionMajor() != PN_NO_EXCEPTION) {
!         return;
!     }
  }
  


Directory filter : [ all ] / postnuke_official / html / modules / installer [ view in CVS ]

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