- Timestamp:
- May 21, 2012, 12:33:43 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/install/db/121-database.php
r15128 r15178 63 63 else 64 64 { 65 $content.= ' 66 <IfModule mod_rewrite.c>'; 67 65 68 if (strpos($content, 'RewriteEngine on') === false) 66 69 { … … 92 95 RewriteRule ^upload/(.*)/(.*)\.([a-z0-9]{3,4})$ i.php?/upload/$1/$2-me.$3 [L] 93 96 RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?'.preg_quote($_SERVER['SERVER_NAME']).'/.*$ [NC] 94 RewriteRule ^galleries(.*)/(.*)\.([a-z0-9]{3,4})$ i.php?/galleries/$1/$2-me.$3 [L]'; 97 RewriteRule ^galleries(.*)/(.*)\.([a-z0-9]{3,4})$ i.php?/galleries/$1/$2-me.$3 [L] 98 </IfModule>'; 95 99 96 100 file_put_contents($htaccess, $content);
Note: See TracChangeset
for help on using the changeset viewer.