Skip to content

Commit 85c429a

Browse files
author
Corb3nik
committed
Removes file_cache setting in php.ini and fixes links in index.php
1 parent 6ed31d3 commit 85c429a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

demo/index.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
<form method="POST" enctype='multipart/form-data' action='.'>
2929
<label>Path : </label>
30-
<input type="text" name="path" placeholder="scenario_1/uploads/" style='width:800px'/>
30+
<input type="text" name="path" placeholder="uploads/" style='width:800px'/>
3131

3232
<br/>
3333

@@ -39,7 +39,7 @@
3939
<input type="submit" value="Upload">
4040
</form>
4141

42-
<a href="/scenario_1/override_me.php">override_me</a>
42+
<a href="/override_me.php">override_me</a>
4343
</body>
4444
</html>
4545

demo/php.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1831,7 +1831,7 @@ opcache.blacklist_filename=/tmp/blacklist.txt
18311831
; Enables and sets the second level cache directory.
18321832
; It should improve performance when SHM memory is full, at server restart or
18331833
; SHM reset. The default "" disables file based caching.
1834-
opcache.file_cache=opcache/
1834+
;opcache.file_cache=
18351835

18361836
; Enables or disables opcode caching in shared memory.
18371837
opcache.file_cache_only=1

0 commit comments

Comments
 (0)