src/library/ThreemaGateway/Option/DebugModeLog.php 1 location
|
@@ 124-126 (lines=3) @@
|
121 |
|
} |
122 |
|
|
123 |
|
// correct path |
124 |
|
if (substr($option['path'], 0, 1) == '/') { |
125 |
|
$option['path'] = substr($option['path'], 1); |
126 |
|
} |
127 |
|
|
128 |
|
return $option; |
129 |
|
} |
src/library/ThreemaGateway/Option/VerifyReceiveTime.php 1 location
|
@@ 37-39 (lines=3) @@
|
34 |
|
} |
35 |
|
|
36 |
|
// auto-correct to add - at start to make it point in the past |
37 |
|
if (substr($option['time'], 0, 1) !== '-') { |
38 |
|
$option['time'] = '-' . $option['time']; |
39 |
|
} |
40 |
|
|
41 |
|
$test = strtotime($option['time']); |
42 |
|
if (!$test || |