equal
deleted
inserted
replaced
1117 if(!$ht) err('Error opening file .htaccess for writing'); |
1117 if(!$ht) err('Error opening file .htaccess for writing'); |
1118 fwrite($ht, ' |
1118 fwrite($ht, ' |
1119 RewriteEngine on |
1119 RewriteEngine on |
1120 RewriteCond %{REQUEST_FILENAME} !-d |
1120 RewriteCond %{REQUEST_FILENAME} !-d |
1121 RewriteCond %{REQUEST_FILENAME} !-f |
1121 RewriteCond %{REQUEST_FILENAME} !-f |
1122 RewriteRule ^(.+) '.scriptPath.'/index.php/$1 [L,QSA] |
1122 RewriteRule ^(.+) '.scriptPath.'/index.php?title=$1 [L,QSA] |
1123 RewriteRule \.(php|html|gif|jpg|png|css|js)$ - [L] |
1123 RewriteRule \.(php|html|gif|jpg|png|css|js)$ - [L] |
1124 '); |
1124 '); |
1125 fclose($ht); |
1125 fclose($ht); |
1126 } |
1126 } |
1127 |
1127 |