** Changed in: aikiframework
    Milestone: 1.0 => 0.9.4

-- 
You received this bug notification because you are a member of Aiki
Framework Developers, which is subscribed to aikiframework.
https://bugs.launchpad.net/bugs/602495

Title:
  Why is the .htaccess file generated?

Status in Aiki Framework:
  Confirmed

Bug description:
  In system/libraries/installer.php the htaccess file is generated, but
  this makes no sense because it has no variables. The file should exist
  in the filesystem already and not be generated by PHP.

  To do this, create the .htaccess file, run "bzr add .htaccess" and
  then delete these lines:

          $htaccess_file = 'Options +FollowSymLinks
  RewriteEngine on
  RewriteBase '.$_SERVER["REQUEST_URI"].'
  RewriteRule ^image/(.*)px/(.*)/(.*) 
assets/apps/image_viewer.php?id=$3&size=$1&mode=$2
  RewriteRule ^image/(.*)px/(.*) assets/apps/image_viewer.php?id=$2&size=$1
  RewriteRule ^image/(.*) assets/apps/image_viewer.php?id=$1
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{SCRIPT_FILENAME} !-d
  RewriteCond %{SCRIPT_FILENAME} !-f
  RewriteRule ^(.*)$ index.php?pretty=$1 [L,QSA]';

          $htaccess_file_name = ".htaccess";
          $FileHandle = fopen($htaccess_file_name, 'w') or die("Sorry, no 
permissions to create .htaccess file");
          fwrite($FileHandle, $htaccess_file);
          fclose($FileHandle);

To manage notifications about this bug go to:
https://bugs.launchpad.net/aikiframework/+bug/602495/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~aikiframework-devel
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help   : https://help.launchpad.net/ListHelp

Reply via email to