Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
Fix user guide url
|
|
Update copyright date to 2019
|
|
Annual copyright update
Conflicts resolved:
system/libraries/Cache/drivers/Cache_apcu.php
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
|
|
|
|
|
|
- Use DIRECTORY_SEPARATOR instead of a hard-coded forward-slash
- Use more proper terminology in comment descriptions
- Small tweaks to directory detection logic
|
|
|
|
|
|
|
|
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>
|
|
./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>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
<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>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Enable it explicitly and make sure a failed assertion will always
terminate execution.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
|
|
If code igniter is located inside a folder named like SELF (eg. index.php), the FCPATH constant will have an incorrect value.
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
- 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
|
|
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>
|
|
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>
|
|
|
|
|
|
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>
|
|
The core shouldn't depend on constants that are not defined by itself
|
|
Update copyright notices from 2013 to 2014.
And update one calendar example in user_guide from year 2013/2014 to
2014/2015.
|
|
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
|
|
|
|
issue was present on PHP < 5.4
|
|
Fixes an oversight from 806ca600d3669343ee7ae90a9b5d65be9dfdbefe
|
|
- 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>
|
|
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>
|
|
|
|
|
|
|