summaryrefslogtreecommitdiffstats
path: root/index.php
AgeCommit message (Collapse)AuthorFilesLines
2015-06-05Move public files to ./public_htmlFlorian Pritz1-220/+4
./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>
2015-06-04Refactor exception handling into dedicated classFlorian Pritz1-138/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-31Add linebreak to exception HTMLFlorian Pritz1-1/+2
<pre> already breaks, but this ensures that in case the error is printed to cli there will also be a line break. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-31Display error id when printing exceptionFlorian Pritz1-0/+6
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-28Always display exceptions when running via CLIFlorian Pritz1-0/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-28Handle nested ExceptionsFlorian Pritz1-13/+36
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-04-18Correct error log message (php error log, not syslog)Florian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-04-01Display authentication errors to cli clientsFlorian Pritz1-1/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-03-02Improve assertion handlingFlorian Pritz1-0/+8
Enable it explicitly and make sure a failed assertion will always terminate execution. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-02-03Use exceptions instead of show_errorFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-02-03generalize authentication handlingFlorian Pritz1-1/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-02-03Improve general exception handlingFlorian Pritz1-4/+10
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-02-03Rework error handling in upload validatorFlorian Pritz1-1/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-01-16Don't leak error heading to HTML outputFlorian Pritz1-2/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-01-03Improve stacktrace generation (circular reference errors)Florian Pritz1-9/+39
var_export can't handle circular references which can happen in codeigniter's objects and if those get passed as arguments it will throw another fatal error and the actual trace will get lost. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-12-06Improve backtracesFlorian Pritz1-2/+13
PHP's default functions truncate longer argument values so backtrace will not be as helpful as they could be. This code tries to mimic PHP's way of printing traces except it prints full arguments. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-09-20Improve handling of PHP errorsFlorian Pritz1-0/+55
This converts any error (including INFO, NOTICE and those hidden with @) to an exception and displays a nice error page for uncaught exceptions. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-09-16Remove executable bitsFlorian Pritz1-0/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-02-14define $HOME if it's not defined alreadyFlorian Pritz1-0/+4
Some scripts might rely on it being defined. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-09-11use system wide error_reporting valueFlorian Pritz1-2/+2
We shouldn't mess with that when it's already set in php.ini. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-08-21Merge commit 'v2.0.3' into workingFlorian Pritz1-2/+3
Conflicts: .gitignore application/views/welcome_message.php user_guide/changelog.html user_guide/database/active_record.html user_guide/database/caching.html user_guide/database/call_function.html user_guide/database/configuration.html user_guide/database/connecting.html user_guide/database/examples.html user_guide/database/fields.html user_guide/database/forge.html user_guide/database/helpers.html user_guide/database/index.html user_guide/database/queries.html user_guide/database/results.html user_guide/database/table_data.html user_guide/database/transactions.html user_guide/database/utilities.html user_guide/doc_style/index.html user_guide/general/alternative_php.html user_guide/general/ancillary_classes.html user_guide/general/autoloader.html user_guide/general/caching.html user_guide/general/cli.html user_guide/general/common_functions.html user_guide/general/controllers.html user_guide/general/core_classes.html user_guide/general/creating_drivers.html user_guide/general/creating_libraries.html user_guide/general/credits.html user_guide/general/drivers.html user_guide/general/environments.html user_guide/general/errors.html user_guide/general/helpers.html user_guide/general/hooks.html user_guide/general/libraries.html user_guide/general/managing_apps.html user_guide/general/models.html user_guide/general/profiling.html user_guide/general/quick_reference.html user_guide/general/requirements.html user_guide/general/reserved_names.html user_guide/general/routing.html user_guide/general/security.html user_guide/general/styleguide.html user_guide/general/urls.html user_guide/general/views.html user_guide/helpers/array_helper.html user_guide/helpers/captcha_helper.html user_guide/helpers/cookie_helper.html user_guide/helpers/date_helper.html user_guide/helpers/directory_helper.html user_guide/helpers/download_helper.html user_guide/helpers/email_helper.html user_guide/helpers/file_helper.html user_guide/helpers/form_helper.html user_guide/helpers/html_helper.html user_guide/helpers/inflector_helper.html user_guide/helpers/language_helper.html user_guide/helpers/number_helper.html user_guide/helpers/path_helper.html user_guide/helpers/security_helper.html user_guide/helpers/smiley_helper.html user_guide/helpers/string_helper.html user_guide/helpers/text_helper.html user_guide/helpers/typography_helper.html user_guide/helpers/url_helper.html user_guide/helpers/xml_helper.html user_guide/index.html user_guide/installation/downloads.html user_guide/installation/index.html user_guide/installation/troubleshooting.html user_guide/installation/upgrade_120.html user_guide/installation/upgrade_130.html user_guide/installation/upgrade_131.html user_guide/installation/upgrade_132.html user_guide/installation/upgrade_133.html user_guide/installation/upgrade_140.html user_guide/installation/upgrade_141.html user_guide/installation/upgrade_150.html user_guide/installation/upgrade_152.html user_guide/installation/upgrade_153.html user_guide/installation/upgrade_154.html user_guide/installation/upgrade_160.html user_guide/installation/upgrade_161.html user_guide/installation/upgrade_162.html user_guide/installation/upgrade_163.html user_guide/installation/upgrade_170.html user_guide/installation/upgrade_171.html user_guide/installation/upgrade_172.html user_guide/installation/upgrade_200.html user_guide/installation/upgrade_201.html user_guide/installation/upgrade_202.html user_guide/installation/upgrade_b11.html user_guide/installation/upgrading.html user_guide/libraries/benchmark.html user_guide/libraries/caching.html user_guide/libraries/calendar.html user_guide/libraries/cart.html user_guide/libraries/config.html user_guide/libraries/email.html user_guide/libraries/encryption.html user_guide/libraries/file_uploading.html user_guide/libraries/form_validation.html user_guide/libraries/ftp.html user_guide/libraries/image_lib.html user_guide/libraries/input.html user_guide/libraries/javascript.html user_guide/libraries/language.html user_guide/libraries/loader.html user_guide/libraries/output.html user_guide/libraries/pagination.html user_guide/libraries/parser.html user_guide/libraries/security.html user_guide/libraries/sessions.html user_guide/libraries/table.html user_guide/libraries/trackback.html user_guide/libraries/typography.html user_guide/libraries/unit_testing.html user_guide/libraries/uri.html user_guide/libraries/user_agent.html user_guide/libraries/xmlrpc.html user_guide/libraries/zip.html user_guide/license.html user_guide/nav/nav.js user_guide/overview/appflow.html user_guide/overview/at_a_glance.html user_guide/overview/cheatsheets.html user_guide/overview/features.html user_guide/overview/getting_started.html user_guide/overview/goals.html user_guide/overview/index.html user_guide/overview/mvc.html user_guide/toc.html Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-07-02backed out 648b42a75739, which was a NON-trivial whitespace commit. It ↵Derek Jones1-15/+15
broke the Typography class's string replacements, for instance
2011-04-25Fixed double-space typo.Razican1-15/+15
2011-04-20Fix #224 Error in primary index.php $routing instructionsGreg Aker1-1/+1
2011-04-19Removing internal references to the EXT constant. Additionally, marked the ↵Greg Aker1-1/+2
constant as deprecated. Use ".php" instead. Also adding upgrade notes from 2.0.2 to 2.0.3.
2011-04-12reapply changes made to core filesFlorian Pritz1-2/+2
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-04-10update to CI 2.0.2Florian Pritz1-10/+48
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-04-06Made Environment Support optional. Comment out or delete the constant to ↵Phil Sturgeon1-0/+3
stop environment checks.
2011-02-07CLI requests can now be run from any folder, not just when CD'ed next to ↵Phil Sturgeon1-0/+7
index.php.
2011-02-02Merged recent changes and tweaked multi-env changes.Phil Sturgeon1-25/+34
2011-01-28Remove Notice errorsFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-01-28update to CI 2.0Florian Pritz1-94/+142
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-01-16Set error_reporting to E_ALL when environment unknown and changed CI_Loader ↵joelcox1-0/+1
to load environment configs first.
2011-01-16Removed default error_reporting and set it depending on environmentjoelcox1-16/+22
2011-01-15Split basic configuration in three environments, providing fallback to globaljoelcox1-0/+12
2010-12-07update to CI 1.7.3Florian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-10-07Automated merge with https://bitbucket.org/barrymieny/codeigniterDerek Jones1-1/+1
2010-10-06added suggested value to index.php for error_reporting() when a site goes ↵Derek Jones1-1/+1
live, closes #177
2010-10-04Cleanup of stray spaces and tabsBarry Mieny1-21/+21
2010-08-14disable E_NOTICEFlorian Pritz1-2/+2
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-04-08Update to realpath() check of SYSDIR in index.phpGreg Aker1-1/+1
2010-04-08Fix #15 - Strict Standards Error in index.phpGreg Aker1-1/+1
2010-03-22fixed spelling in code commentDerek Jones1-1/+1
2010-03-12Fixed constant SELF undefined issue when a bad system folder is set.Phil Sturgeon1-1/+1
2010-03-02updating index.php fileDerek Jones1-95/+142
2010-02-18test commit whitespaceDerek Jones1-0/+1
2010-02-06Initial commitFlorian Pritz1-0/+118
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2009-07-02changed EXT to always be defined as '.php' to allow the renaming of the ↵Derek Jones1-1/+1
index.php file
2009-03-06Removed the "index.php" portion from the FCPATH constant, as it was not needed.Rick Ellis1-2/+2
2008-11-13Changing EOL style to LFDerek Allard1-117/+117