@@ -63,14 +63,14 @@ |
||
63 | 63 | if (strlen($match[1]) > strlen($match[2])) { |
64 | 64 | $match[2] = substr($match[1], 0, strlen($match[1]) - strlen($match[2])) . $match[2]; |
65 | 65 | } |
66 | - $ged_date = new Date("FROM {$cal} {$match[1]} TO {$cal} {$match[2]}"); |
|
66 | + $ged_date = new Date("from {$cal} {$match[1]} TO {$cal} {$match[2]}"); |
|
67 | 67 | $view = 'year'; |
68 | 68 | } else { |
69 | 69 | // advanced-year "decade/century wildcard" |
70 | 70 | if (preg_match('/^(\d+)(\?+)$/', $year, $match)) { |
71 | 71 | $y1 = $match[1] . str_replace('?', '0', $match[2]); |
72 | 72 | $y2 = $match[1] . str_replace('?', '9', $match[2]); |
73 | - $ged_date = new Date("FROM {$cal} {$y1} TO {$cal} {$y2}"); |
|
73 | + $ged_date = new Date("from {$cal} {$y1} TO {$cal} {$y2}"); |
|
74 | 74 | $view = 'year'; |
75 | 75 | } else { |
76 | 76 | if ($year < 0) { |
@@ -49,7 +49,7 @@ |
||
49 | 49 | try { |
50 | 50 | $fp = fsockopen($scheme . $host, $port, $errno, $errstr, 5); |
51 | 51 | |
52 | - fputs($fp, "GET $path?$query HTTP/1.0\r\nHost: $host\r\nConnection: Close\r\n\r\n"); |
|
52 | + fputs($fp, "get $path?$query HTTP/1.0\r\nHost: $host\r\nConnection: Close\r\n\r\n"); |
|
53 | 53 | |
54 | 54 | // The first part of the response include the HTTP headers |
55 | 55 | $response = fread($fp, 65536); |
@@ -138,7 +138,7 @@ |
||
138 | 138 | } |
139 | 139 | } catch (\Exception $ex) { |
140 | 140 | // The module has been deleted or is broken? Disable it. |
141 | - Log::addConfigurationLog("Module {$module_name} is missing or broken - disabling it"); |
|
141 | + Log::addConfigurationLog("module {$module_name} is missing or broken - disabling it"); |
|
142 | 142 | Database::prepare( |
143 | 143 | "UPDATE `##module` SET status = 'disabled' WHERE module_name = :module_name" |
144 | 144 | )->execute(array( |