🌐 AI搜索 & 代理 主页
Skip to content

Commit ba81326

Browse files
committed
Tests: Don't remove csp.log in the cspClean action of mock.php
For some reason the current setup worked fine with Apache but broke for me when I migrated to nginx. Closes gh-4936 (cherry picked from commit 1019074)
1 parent f6f0720 commit ba81326

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

test/data/mock.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,6 @@ protected function cspLog( $req ) {
218218

219219
protected function cspClean( $req ) {
220220
file_put_contents( $this->cspFile, '' );
221-
unlink( $this->cspFile );
222221
}
223222

224223
protected function errorWithScript( $req ) {

0 commit comments

Comments
 (0)