.htaccess successfully created/updated.' ); } else { $warning[] = yourls__( 'Could not write file .htaccess in YOURLS root directory. You will have to do it manually. See how.' ); } // Create SQL tables $install = yourls_create_sql_tables(); if ( isset( $install['error'] ) ) $error = array_merge( $error, $install['error'] ); if ( isset( $install['success'] ) ) $success = array_merge( $success, $install['success'] ); } // Start output yourls_html_head( 'install', yourls__( 'Install YOURLS' ) ); ?>

YOURLS

0 ) { echo "'; } } // Display install button or link to admin area if applicable if( !yourls_is_installed() && !isset($_REQUEST['install']) ) { echo '

'; } else { if( count($error) == 0 ) echo '

» ' . yourls__( 'YOURLS Administration Page') . '

'; } ?>