이미지 기능 통합

기존에 image.php 와 index.php 기능을 분리하던 것을 통합 - image.php 는 제거 됨.
This commit is contained in:
hakasenyang
2016-11-13 05:32:26 +09:00
parent 74e184ec38
commit 36d0d2675e
3 changed files with 42 additions and 113 deletions
+2 -2
View File
@@ -14,11 +14,11 @@
2. 권한은 cookie.txt, mangalist.txt (쿠키 캐싱) 파일을 생성하기 위해 필요합니다.
3. api 관련 rewrite 는 아래를 참고하십시오. (nginx 기준)
4. rewrite 없이 사용하려면 소스를 수정하셔야 합니다.
```
rewrite ^/api/(.*)/(.*)$ /index.php?num=$1&json=1;
rewrite ^/api/(.*)$ /index.php?num=$1;
rewrite ^/img/(.*)$ /image.php?num=$1;
rewrite ^/img/(.*)$ /index.php?num=$1&image=1;
rewrite ^/fmaru$ /fmaru.php;
```