summaryrefslogtreecommitdiffstats
path: root/public_html/index.php
AgeCommit message (Collapse)AuthorFilesLines
2020-04-19Log HTTP 500 PublicApiException to error logFlorian Pritz1-0/+3
These return a 500 HTTP error code and when using a CLI download tool, you might not see the returned HTML error message. To make debugging easier we also log them to the error log. Some extending exceptions also return different error codes (e.g. UserInputException) so we filter these by only logging if the return code is 500. If a user/admin sees that code they likely expect a log entry. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2019-01-28Merge tag '3.1.10' of git://github.com/bcit-ci/CodeIgniter into devFlorian Pritz1-3/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-16wipFlorian Pritz1-1/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-09WIP: CI3 migrationFlorian Pritz1-2/+56
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-09Merge tag '3.1.5' into dev-ci3Florian Pritz1-81/+139
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-05tests: Add env variable to disable code coverage collectionFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-05Drop plain text error handlingFlorian Pritz1-9/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-31Add code coverage outputFlorian Pritz1-0/+41
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-08-18Fix redirect URI when using multiple tabsFlorian Pritz1-1/+6
If we store only the last called URI in the session we can't support multiple browser tabs that all need to log in again. Fix this by storing the URI in the URL. Also change a trim() to ltrim() so that the URI string we store keeps it's trailing slash. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-08-02Fix handling of php errorsFlorian Pritz1-0/+5
When the exception handler moved to a dedicated class _exception_handler was no longer defined so CI defined it with it's own code which does not throw an exception but rather just prints the less helpful CI error page. This could be triggered by deleting an upload while the cache_backend is set to "file" and the cache does not hold the filedata for the upload being deleted. In that case PHP throws a warning (unlink on a missing file) which would no longer be caught with try/catch in the cache backend's delete() function. Now the error is catchable again. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-06-05Move public files to ./public_htmlFlorian Pritz1-0/+226
./data/local is not moved because it contains likely untracked files and moving it would throw an error when updating. Signed-off-by: Florian Pritz <bluewind@xinu.at>