Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitba81326

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 whenI migrated to nginx.Closesgh-4936(cherry picked from commit1019074)
1 parentf6f0720 commitba81326

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
protectedfunctioncspClean($req ) {
220220
file_put_contents($this->cspFile,'' );
221-
unlink($this->cspFile );
222221
}
223222

224223
protectedfunctionerrorWithScript($req ) {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp