summaryrefslogtreecommitdiffstats
path: root/index.php
AgeCommit message (Collapse)AuthorFilesLines
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-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-01-21Remove closing blocks at end of PHP filesvlakoff1-3/+0
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
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-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-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
2012-07-15Fix in index.php inline documentationvlakoff1-1/+1
$routing['controller'] has to respect the capitalization of the filename, which is in lowercase. Otherwise, the application fails on case-sensitive servers.
2012-07-13Some adjustments in inline documentationvlakoff1-1/+1
2012-07-10Follow-up to #1398, #1548Andrey Andreev1-0/+1
2012-07-10Merge pull request #1398 from gintsmurans/developAndrey Andreev1-14/+15
Change error_reporting(0) to ini_set('display_errors', 0);
2012-06-12Fix APPPATHAndrey Andreev1-2/+2
2012-06-12Some more index.php improvementsAndrey Andreev1-7/+8
2012-06-12Changed APPPATH, BASEPATH and VIEWPATH to be absolute paths (fixes issue ↵Andrey Andreev1-15/+31
#1321) and removed EXT constant
2012-06-03Added support for $_SERVER['CI_ENV'] in index.phpPhil Sturgeon1-1/+1
Remember this is entirely optional, nothing will change if you do not which to use Multiple Environments just like right now. If you DO set CI_ENV you can manipulate the switch that controls error reporting, etc, so set it to "production" on your live site to hide errors from users. If you don't require this logic you can remove it, or change it entirely to check HTTP_HOST for environment subdomains, or check IP address, etc.
2012-05-30E_ALL -> -1Gints Murans1-1/+1
2012-05-28Changed to show all the errors on devRoot1-4/+2
2012-05-26Changed instead of turning off of the error messaging to hide themRoot1-13/+16
2012-03-09Bumped CodeIgniter's PHP requirement to 5.2.4.Phil Sturgeon1-1/+1
Yes I know PHP 5.4 just came out, and yes I know PHP 5.3 has lovely features, but there are plenty of corporate systems running on CodeIgniter and PHP 5.3 still is not widely supported enough. CodeIgniter is great for distributed applications, and this is the highest we can reasonably go without breaking support. PHP 5.3 will most likely happen in another year or so. Fingers crossed on that one anyway...
2012-02-05Adding in a few 503 status codes for common errors in response to this ↵Kevin Cupp1-0/+2
ExpressionEngine bug about errors getting cached by reverse proxies who cache 200 responses: http://expressionengine.com/bug_tracker/bug/17420
2012-01-08Clear some spaces from index.phpAndrey Andreev1-34/+23
2012-01-02Updating copyright date to 2012Greg Aker1-1/+1
2011-10-20adding new license file (OSL 3.0) and updating readme to ReSTDerek Jones1-0/+25
added notice of license to all source files. OSL to all except the few files we ship inside of the application folder, those are AFL. Updated license in user guide. incrementing next dev version to 3.0 due to licensing change
2011-08-21Ability to move the view folder out of the Application directoryJoe Cianflone1-0/+33
* index.php -- added the $view_folder var and VIEWPATH constant * Loader.php -- changed the private _ci_view_paths var so that it's not hardcoded to the view dir, but looks for the VIEWPATH constant instead
2011-08-21Changed error reporting level to -1, which will show ALL PHP errors. This ↵Dan Horrigan1-1/+1
will future-proof the solution. Thanks @ericbarnes for pointing that out.
2011-08-21Changed the 'development' environment default error reporting to included ↵Dan Horrigan1-1/+1
E_STRICT errors. E_ALL does not include these errors.
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-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-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-10-07Automated merge with https://bitbucket.org/barrymieny/codeigniterDerek Jones1-1/+1