Changeset 274 for branches/release-1_3/admin
- Timestamp:
- Jan 12, 2004, 12:40:39 AM (20 years ago)
- Location:
- branches/release-1_3/admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/release-1_3/admin/admin.php
r202 r274 36 36 $page_valide = false; 37 37 $title = ''; 38 if (isset( $_GET['page'] )) 38 39 switch ( $_GET['page'] ) 39 40 { -
branches/release-1_3/admin/include/isadmin.inc.php
r57 r274 17 17 * * 18 18 ***************************************************************************/ 19 define( PREFIX_INCLUDE, '.' );19 define( 'PREFIX_INCLUDE', '.' ); 20 20 21 21 include_once( '../include/config.inc.php' ); -
branches/release-1_3/admin/install.php
r205 r274 19 19 20 20 //-------------------------------------------------------------------- includes 21 define( PREFIX_INCLUDE, '.' );21 define( 'PREFIX_INCLUDE', '.' ); 22 22 include( '../include/vtemplate.class.php' ); 23 23 include( '../include/functions.inc.php' ); … … 46 46 } 47 47 //---------------------- Step 1 : connection informations, write of config file 48 if ( $_GET['step'] == 1 )48 if ( isset($_GET['step']) && $_GET['step'] == 1 ) 49 49 { 50 50 $errors = array(); … … 151 151 $vtp->setVar( $handle, 'step1.f_host', $_POST['cfgHote'] ); 152 152 // user 153 $vtp->setVar( $handle, 'step1.f_user', $_POST['cfgUser'] ); 153 if ( isset( $_POST['cfgUser'] ) ) 154 $vtp->setVar( $handle, 'step1.f_user', $_POST['cfgUser'] ); 154 155 // base 155 $vtp->setVar( $handle, 'step1.f_base', $_POST['cfgBase'] ); 156 if ( isset( $_POST['cfgBase'] ) ) 157 $vtp->setVar( $handle, 'step1.f_base', $_POST['cfgBase'] ); 156 158 // prefixeTable 157 159 if ( !isset( $_POST['prefixeTable'] ) ) … … 164 166 } 165 167 //------------------------------------- Step 2 : creation of tables in database 166 else if ( $_GET['step'] == 2 )168 else if ( isset($_GET['step']) && $_GET['step'] == 2 ) 167 169 { 168 170 $errors = array(); … … 268 270 { 269 271 $vtp->addSession( $handle, 'step2' ); 272 if ( isset( $_POST['webmaster'] )) 270 273 $vtp->setVar( $handle, 'step2.f_webmaster', $_POST['webmaster'] ); 274 if ( isset( $_POST['mail_webmaster'] )) 271 275 $vtp->setVar( $handle, 'step2.f_mail_webmaster', $_POST['mail_webmaster']); 272 276 $vtp->closeSession( $handle, 'step2' );
Note: See TracChangeset
for help on using the changeset viewer.