summaryrefslogtreecommitdiffstats
path: root/index.php
AgeCommit message (Collapse)AuthorFilesLines
2022-04-10Merge remote-tracking branch 'upstream/3.1-stable' into devFlorian Pritz1-0/+0
2022-02-11[ci skip] chmod -x index.php (fix #6101)Andrey Andreev1-0/+0
2020-07-09[ci skip] Merge pull request #5970 from sapics/fix/user-guide-urlAndrey Andreev1-1/+1
Fix user guide url
2019-01-02Merge pull request #5662 from jim-parry/copyright2019Instructor, BCIT1-3/+3
Update copyright date to 2019
2018-01-09[ci skip] Merge pull request #5376 from jim-parry/copyright-updateAndrey Andreev1-2/+2
Annual copyright update Conflicts resolved: system/libraries/Cache/drivers/Cache_apcu.php
2017-09-09Merge tag '3.1.5' into dev-ci3Florian Pritz1-0/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-01-03Update copyright data to 2017Master Yoda1-2/+2
2016-03-13[ci skip] Fix a comment typoAndrey Andreev1-1/+1
2016-03-12[ci skip] Revert an unnecessary change from last commitAndrey Andreev1-1/+1
2016-03-12[ci skip] Update the index.php fileAndrey Andreev1-51/+74
- Use DIRECTORY_SEPARATOR instead of a hard-coded forward-slash - Use more proper terminology in comment descriptions - Small tweaks to directory detection logic
2016-01-12[ci skip] 2016 in index.phpAndrey Andreev1-2/+2
2016-01-11[ci skip] Update ellislab.com links to https tooAndrey Andreev1-1/+1
2016-01-11[ci skip] Update codeigniter.com links to httpsAndrey Andreev1-2/+2
2015-07-18index.php: Include correct fileFlorian Pritz1-1/+1
If $PWD is not the root of the working copy this would try to include $PWD/public_html/index.php. Signed-off-by: Florian Pritz <bluewind@xinu.at>
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-05[ci skip] Again, remove whitespaceAndrey Andreev1-1/+1
2015-02-05Fix incorrect FCPATH when a folder is named SELFCharly Faille1-1/+1
If code igniter is located inside a folder named like SELF (eg. index.php), the FCPATH constant will have an incorrect value.
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-21Remove closing blocks at end of PHP filesvlakoff1-3/+0
2015-01-16Don't leak error heading to HTML outputFlorian Pritz1-2/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-01-09Bulk (mostly documentation) updateAndrey Andreev1-3/+3
- Remove PHP version from license notices - Bump year number in copyright notices - Recommend PHP 5.4 or newer to be used - Tell Travis-CI to test on PHP 5.3.0 instead of the latest 5.3 version Related: #3450
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-10-27[ci skip] Switch to MIT license; close #3293Andrey Andreev1-14/+25
2014-10-06E_DEPRECATED is not available in PHP 5.2Andrey Andreev1-1/+8
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>
2014-03-13Partially revert PR #2190Andrey Andreev1-4/+4
The core shouldn't depend on constants that are not defined by itself
2014-02-112013 > 2014darwinel1-1/+1
Update copyright notices from 2013 to 2014. And update one calendar example in user_guide from year 2013/2014 to 2014/2015.
2013-10-14Fix #2682Andrey Andreev1-7/+7
2013-09-16Remove executable bitsFlorian Pritz1-0/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-08-06Various typos and tabs adjustmentsvlakoff1-1/+1
2013-07-22Change class filenames to UcfirstAndrey Andreev1-1/+1
2013-07-21Fix too verbose error logging on default production environmentvlakoff1-1/+1
issue was present on PHP < 5.4
2013-03-29index.php: minor improvement in VIEWPATH definition codevlakoff1-1/+1
Fixes an oversight from 806ca600d3669343ee7ae90a9b5d65be9dfdbefe
2013-03-04Updated in accordance with feedback from @narfbgDaniel Hunsaker1-1/+1
- Removed commented lists of constants from the three reference conventions, replacing each with the URLs at which more information can be found. - Renamed a few constants to more closely reflect CodeIgniter conventions. - Modified a couple of lines which were in violation of the CI Style Guide. Signed-off-by: Daniel Hunsaker <danhunsaker@gmail.com>
2013-02-23Updated exit codes as constant valuesDaniel Hunsaker1-4/+8
Re-allocated exit status codes according to three references, which follow: BSD sysexits.h:http://www.gsp.com/cgi-bin/man.cgi?section=3&topic=sysexits GNU recomendations:http://www.gnu.org/software/libc/manual/html_node/Exit-Status.html Bash scripting:http://tldp.org/LDP/abs/html/exitcodes.html The GNU recommendations stem from and expand upon the standard C/C++ library (stdlibc) definitions, while also suggesting some best-practice conventions which happen to prevent exit status code collisions with bash, and probably other shells. The re-allocated codes are now mapped to constant values, set in *application/config/constants.php*, and used throughout the CodeIgniter core. They would additionally be used in *index.php*, but the constants file hasn't been loaded at that point, so the integer values are used instead, and a comment follows each such use with amplifying information on why that particular value was selected. Finally, the errors documentation has been updated accordingly. Signed-off-by: Daniel Hunsaker <danhunsaker@gmail.com>
2013-01-03fix a typo in index.phpAdam Carmichael1-1/+1
2013-01-01[ci skip] Happy new yearAndrey Andreev1-1/+1
2012-11-21Change fs permissions and add some missing index.html files (#2017)Andrey Andreev1-0/+0