summaryrefslogtreecommitdiffstats
path: root/index.php
AgeCommit message (Collapse)AuthorFilesLines
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
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-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
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
2008-11-12Propset eol-style to CRLFDerek Jones1-117/+117
simplified paragraph tag cleanup regex
2008-09-25Fixed the spelling of "Dhaka" in the timezone_menu() function of the Date ↵Derek Allard1-1/+1
helper. Added a missing quote in an example on the index page
2008-05-11Removed closing PHP tags, replaced with a comment block identifying the end ↵Derek Jones1-1/+3
of the file
2008-05-11Undoing change committed in r1115Derek Jones1-0/+1
2008-05-11removed closing PHP tag from all framework filesDerek Jones1-1/+0