diff options
author | Fabio Spampinato <fabiospampinato@users.noreply.github.com> | 2017-01-11 15:27:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-11 15:27:45 +0100 |
commit | e82d91b0b322b4770441d00480d908be959ac175 (patch) | |
tree | 8e9a0801247b4c80bb6ef29f2dc01df5867b054c /system/libraries/Upload.php | |
parent | 27647c9a8b5cd5a0e1fd78123316f359fe61a672 (diff) |
Fixed regex used for loading helpers
We want to exactly match a dot, so we have to escape it.
I found the bug because in my project I load an helper named `session_php_helper.php`, so the `_php` part gets removed and the `session_helper.php` helper gets loaded instead, this way not even an error was shown.
Diffstat (limited to 'system/libraries/Upload.php')
0 files changed, 0 insertions, 0 deletions