|
@@ -72,14 +72,14 @@ |
|
|
block discarded – undo |
|
72
|
72
|
if (!file_exists($path_in_filesystem) || is_writable($path_in_filesystem)) { |
|
73
|
73
|
return (bool)file_put_contents($path_in_filesystem, $data, LOCK_EX | FILE_BINARY); |
|
74
|
74
|
} |
|
75
|
|
- trigger_error("File $path_in_filesystem not available for writing", E_USER_WARNING); |
|
|
75
|
+ trigger_error("file $path_in_filesystem not available for writing", E_USER_WARNING); |
|
76
|
76
|
return false; |
|
77
|
77
|
} |
|
78
|
78
|
/** |
|
79
|
79
|
* @inheritdoc |
|
80
|
80
|
*/ |
|
81
|
81
|
function del ($item) { |
|
82
|
|
- file_put_contents(DIR.'/test', "Deleted $item\n".print_r(debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS), true), FILE_APPEND); |
|
|
82
|
+ file_put_contents(DIR.'/test', "deleted $item\n".print_r(debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS), true), FILE_APPEND); |
|
83
|
83
|
$path_in_filesystem = $this->get_absolute_path($item); |
|
84
|
84
|
if (strpos($path_in_filesystem, CACHE) !== 0) { |
|
85
|
85
|
return false; |
Please login to merge, or discard this patch.