@@ -172,7 +172,7 @@ |
||
172 | 172 | /** |
173 | 173 | * Convert class name to underscore and set latte file extension |
174 | 174 | */ |
175 | - $this->underscore_name = lcfirst(preg_replace_callback('/(?<=.)([A-Z])/', function ($m) { |
|
175 | + $this->underscore_name = lcfirst(preg_replace_callback('/(?<=.)([A-Z])/', function($m) { |
|
176 | 176 | return '_' . strtolower($m[1]); |
177 | 177 | }, $class_name)); |
178 | 178 |
@@ -57,8 +57,8 @@ |
||
57 | 57 | { |
58 | 58 | preg_match('/^((([0-9]{4})-[0-9]{2})-[0-9]{2}).*/', $timestamp, $fragments); |
59 | 59 | |
60 | - $year_dir = $this->log_directory . '/' . $fragments[3]; |
|
61 | - $month_dir = $year_dir . '/' . $fragments[2]; |
|
60 | + $year_dir = $this->log_directory . '/' . $fragments[3]; |
|
61 | + $month_dir = $year_dir . '/' . $fragments[2]; |
|
62 | 62 | $day_dir = $month_dir . '/' . $fragments[1]; |
63 | 63 | $file = $day_dir . '/' . $type . static::LOG_EXTENSION; |
64 | 64 |