Updates and fixes to CoreLibs
- fixed all DEFINE to define in config* files - Updates Login class with missing strict declarations - some fixes in Login class for possible errors - Basic class return array layout updates for all rgb sets plus correct static update - Basic class timestamp method fix for not full set (eg missing seconds) - Basic class add method for getting linecount from a file - DB IO class gets a get settings return value method
This commit is contained in:
@@ -35,8 +35,8 @@ class qqUploadedFileXhr
|
||||
}
|
||||
public function getSize()
|
||||
{
|
||||
if (isset($_SERVER["CONTENT_LENGTH"])) {
|
||||
return (int)$_SERVER["CONTENT_LENGTH"];
|
||||
if (isset($_SERVER['CONTENT_LENGTH'])) {
|
||||
return (int)$_SERVER['CONTENT_LENGTH'];
|
||||
} else {
|
||||
throw new \Exception('Getting content length is not supported.');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user