commit | ea41c8aa1951216b6a9ccc99832d69d2b41c5ead | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@devilix.net> | Wed Feb 26 18:31:02 2014 +0200 |
committer | Andrey Andreev <narf@devilix.net> | Wed Feb 26 18:31:02 2014 +0200 |
tree | 57b8b39c7325217795e172cafb71e5f7e63fc563 | |
parent | 4247ed1c0fb588f968f18fd80a5f95debefc63f6 [diff] [blame] |
Don't use error suppression on realpath() + style adjustments
diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php index 583a976..62cfb28 100644 --- a/system/libraries/Upload.php +++ b/system/libraries/Upload.php
@@ -967,7 +967,7 @@ return FALSE; } - if (@realpath($this->upload_path) !== FALSE) + if (realpath($this->upload_path) !== FALSE) { $this->upload_path = str_replace('\\', '/', realpath($this->upload_path)); }