summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/general
AgeCommit message (Collapse)AuthorFilesLines
2013-02-23Updated exit codes as constant valuesDaniel Hunsaker1-3/+18
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-02-15Various cosmetic fixesvlakoff2-3/+3
2013-01-28Adjustments in routing documentationvlakoff1-2/+2
* fixed syntax error for "note" banner * more useful example, in previous one there was no need for strtolower, nor for a callback
2013-01-12Implement autoload model aliasing (#2117)Andrey Andreev1-1/+1
2013-01-09Syntax fixes in documentation sourcevlakoff3-44/+44
2012-12-03[ci skip] Cleaned some spacesAndrey Andreev1-2/+2
2012-11-30Add CI_Output::delete_cache()Andrey Andreev1-2/+10
(an improved version of PR #609)
2012-11-22[ci skip] Fix a typo in the styleguideAndrey Andreev1-1/+1
2012-11-09[ci skip] Polish docs in user_guide_src/source/general/Andrey Andreev28-472/+586
2012-11-09Polish the Common functions documentationAndrey Andreev1-31/+119
2012-11-07Added function_usable() to common functionsAndrey Andreev1-1/+14
It is now used to check whether dangerous functions like eval() and exec() are available. It appears that the Suhosin extension (which is becoming popular) terminates script execution instead of returning e.g. FALSE when it has a function blacklisted. function_exists() checks are insufficient and our only option is to check the ini settings here. Filed an issue here: https://github.com/stefanesser/suhosin/issues/18 ... hopefully we'll be able to deal with this in a more elegant way in the future. (this commit supersedes PR #1809)
2012-11-05Revert usage of is_callable() in system/core/CodeIgniter.phpAndrey Andreev1-71/+81
Seems to be causing issues (see #1970). Also updated the Controller docs, mainly to include an important note related to #1967.
2012-11-04Fix #708Andrey Andreev1-4/+8
2012-11-01Allow use of dashes in controller/method URI segmentsAndrey Andreev2-7/+26
Supersedes PR #642
2012-10-31Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into developJonatas Miguel1-5/+25
2012-10-30Fix issue #658 (:any wildcard matching slashes)Andrey Andreev1-5/+25
2012-10-24Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into developJonatas Miguel6-25/+25
Conflicts: user_guide_src/source/changelog.rst
2012-10-23[ci skip] Drop cheatsheets and quick_reference PDFs from the documentation ↵Andrey Andreev1-11/+0
(unmaintainable)
2012-10-23[ci skip] Add a note about routes.php not being a filterAndrey Andreev1-1/+6
2012-10-22Add is_https() as a common functionAndrey Andreev1-10/+16
2012-10-11[ci skip] Remove core from the description of libraries loaded by the autoloaderAndrey Andreev1-1/+1
2012-10-09Changed Lunix for Linux Erocanti1-1/+1
"Lunix" while going over cli docs.
2012-09-15Update reserved names documentationvlakoff1-1/+1
- EXT removed in 079fbfcde095230f304e889217f897031a948f61 - VIEWPATH added in 8eef9c77512d4fad5357d3cbda83b89f844d7d16
2012-08-30Changed spaces to tabs where appropriate.Jonatas Miguel1-1/+1
2012-08-30Corrected styling errors in documentationJonatas Miguel1-1/+2
2012-08-06Updated documentationJonatas Miguel1-0/+10
2012-07-04Some user guide updatesAndrey Andreev1-30/+31
2012-06-26First pass at ToC remediationDerek Jones1-0/+32
2012-06-16Documentation: remaining PHP "var" declarations changed to "public"vlakoff1-3/+3
Since PHP 4 isn't supported anymore, let's clean up these few PHP "var" declarations which were remaining in the documentation. According to my checks, there is no more PHP "var" left.
2012-06-11Alter documentation on requirements for the SQLSRV driverAndrey Andreev1-2/+3
2012-06-06Merge pull request #933 from wrightlabs/patch-1Andrey Andreev1-0/+1
Add Security class to list of core classes in docs
2012-06-05Added get_mimes() function to system/core/Commons.php.The MIMEs array from ↵Andrey Andreev1-0/+5
config/mimes.php is used by multiple core classes, libraries and helpers and each of them has implemented an own way of getting it, which is not needed and is hard to maintain. This also fixes issue #1411
2012-06-03Merge branch 'develop' of github.com:EllisLab/CodeIgniter into developPhil Sturgeon1-7/+7
2012-06-03Added support for $_SERVER['CI_ENV'] in index.phpPhil Sturgeon1-2/+8
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-06-02Changed load model examples to use lowercase model name. Fixes #1417Alex Bilbie1-6/+6
2012-06-02Changed example model name to follow the CI styleguide class naming conventionsAlex Bilbie1-1/+1
2012-04-26Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into patchTimothy Warren1-1/+1
2012-04-26Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into developJamie Rumbelow3-16/+15
Conflicts: system/core/Loader.php system/database/DB_query_builder.php system/database/drivers/cubrid/cubrid_driver.php system/database/drivers/mssql/mssql_driver.php system/database/drivers/mysql/mysql_driver.php system/database/drivers/mysqli/mysqli_driver.php system/database/drivers/oci8/oci8_driver.php system/database/drivers/odbc/odbc_driver.php system/database/drivers/pdo/pdo_driver.php system/database/drivers/postgre/postgre_driver.php system/database/drivers/sqlite/sqlite_driver.php user_guide_src/source/changelog.rst user_guide_src/source/database/query_builder.rst
2012-04-20added suggested styleguide addition for future consistencyTimothy Warren1-1/+12
2012-04-02Merge upstream branchAndrey Andreev2-13/+12
2012-03-26Fix some examples in the user guideAndrey Andreev2-12/+12
2012-03-26Remove remaining access description lines from database classes and ↵Andrey Andreev1-1/+0
styleguide example
2012-03-12Merge upstream branchAndrey Andreev1-2/+2
2012-03-12Update the list of supported databasesAndrey Andreev1-2/+2
2012-03-12Postgres to PostgreSQLAndrey Andreev1-2/+2
2012-03-12Merge upstream branchAndrey Andreev1-3/+3
2012-03-09Merge branch 'develop' of github.com:EllisLab/CodeIgniter into developPhil Sturgeon1-5/+11
2012-03-09Bumped CodeIgniter's PHP requirement to 5.2.4.Phil Sturgeon1-2/+2
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-03-09Merge upstream branchAndrey Andreev1-5/+11
2012-03-08Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into developJamie Rumbelow1-5/+11