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