00001 <?php namespace Habari; ?> 00002 <?php if ( !defined( 'HABARI_PATH' ) ) { die('No direct access'); } ?> 00003 <?php include( 'header.php' ); ?> 00004 00005 <form action="" method="post"> 00006 <input type="hidden" name="locale" value="<?php echo Utils::htmlspecialchars($locale); ?>"> 00007 00008 <div class="installstep ready"> 00009 <h2>.htaccess<a href="#" class="help-me">(<?php _e('help'); ?>)</a></h2> 00010 <div class="options"> 00011 <div class="inputfield"> 00012 <?php _e('Your <strong>.htaccess</strong> file is not writable. In order to secure your SQLite database, please paste the following into <strong>%s</strong>:', array(HABARI_PATH . '/.htaccess')); ?><br /> 00013 <textarea class="config"><?php echo $sqlite_contents; ?></textarea> 00014 <div class="help"> 00015 <?php _e('Your SQLite database is a file on your server like any other file. You can enhance it\'s security by including a section in your .htaccess file that disallows access to it by readers on the web. Habari is not able to write this section in your .htaccess file automatically, so you must add this section yourself to gain the enhanced security it offers you.'); ?> 00016 <a onclick="this.target='_blank';" href="<?php Site::out_url( 'habari' ); ?>/manual/index.html#Installation"><?php _e('Learn More…'); ?></a> 00017 </div> 00018 </div> 00019 </div> 00020 <div class="bottom"></div> 00021 </div> 00022 00023 <div class="next-section"></div> 00024 00025 <div class="installstep ready"> 00026 <h2><?php _e('Install'); ?></h2> 00027 <div class="options"> 00028 <div class="inputfield submit"> 00029 <div><?php _e('When you have successfully placed the .htaccess file, run the installer again.'); ?></div> 00030 <input type="submit" name="submit" value="<?php _e('Restart Installer'); ?>" /> 00031 </div> 00032 </div> 00033 <div class="bottom"></div> 00034 </div> 00035 </form> 00036 00037 <script type="text/javascript"> 00038 $(document).ready(function() { 00039 $('.help-me').click(function(){$(this).parents('.installstep').find('.help').slideToggle();return false;}) 00040 $('.help').hide(); 00041 }); 00042 </script> 00043 00044 <?php include( 'footer.php' ); ?>