mirror of
https://github.com/mosbth/cimage.git
synced 2025-01-17 19:18:15 +01:00
make htacces work in its current environment.
This commit is contained in:
parent
3667082f15
commit
a62425e759
@ -5,6 +5,12 @@ Revision history
|
||||
[![Build Status](https://scrutinizer-ci.com/g/mosbth/cimage/badges/build.png?b=master)](https://scrutinizer-ci.com/g/mosbth/cimage/build-status/master)
|
||||
|
||||
|
||||
v0.7.7* (2015-10-21)
|
||||
-------------------------------------
|
||||
|
||||
* Change path in `webroot/htaccess` to make it work in current environment.
|
||||
|
||||
|
||||
v0.7.7 (2015-10-21)
|
||||
-------------------------------------
|
||||
|
||||
|
@ -5,7 +5,6 @@
|
||||
#
|
||||
# img A directory where all images are stored
|
||||
# img/me.jpg Access a image as usually.
|
||||
# img/img.php This is where I choose to place img.php (and img_config.php).
|
||||
# image/me.jpg Access a image though img.php using htaccess rewrite.
|
||||
# image/me.jpg?w=300 Using options to img.php.
|
||||
#
|
||||
@ -15,4 +14,4 @@
|
||||
# image/me/me.jpg?w=300 Using options to img.php.
|
||||
#
|
||||
RewriteEngine on
|
||||
RewriteRule ^image/(.*)$ img/img.php?src=$1 [QSA,NC,L]
|
||||
RewriteRule ^image/(.*)$ img.php?src=$1 [QSA,NC,L]
|
||||
|
Loading…
x
Reference in New Issue
Block a user