summaryrefslogtreecommitdiffstats
path: root/system
AgeCommit message (Collapse)AuthorFilesLines
2013-02-15Revert "Update system/core/Common.php"Chris Passas1-2/+2
This reverts commit 8af05ac97513764cc539919e179794df87352c30.
2013-02-15Update system/core/Common.phpChris Passas1-2/+2
If using nginx instead of apache by default nginx will not populate the $_SERVER['HTTPS'] value.  This change allows falling back to checking the port number of the request to determine if your on SSL or not. The other option is adding the following to your nginx config. fastcgi_param HTTPS on; #some php apps require this to detent https
2013-02-15Update system/core/Log.phpChris Passas1-1/+1
Added a space after the comma on the ltrim().
2013-02-14Update system/core/Log.phpChris Passas1-1/+4
Don't print no script access code into log file if log file is not .php anymore.
2013-02-14Update system/core/Log.phpChris Passas1-1/+1
Added ltrim() as requested to strip '.' incase it's added by mistake.
2013-02-13Added support for changing the default log file extension from .php to ↵Chris Passas1-0/+2
whatever is preferred. example (.log) This is a follow up to this pull request. https://github.com/EllisLab/CodeIgniter/pull/2243
2013-02-13Update system/core/Log.phpChris Passas1-2/+9
Updated Log.php so that a developer can extend it and change the log file extension. It makes sense to default to .php when logs are in the public web folder.  It would be nice if a developer moves the log file path we have the option to use a standard extension like .log
2013-02-08Fix issue #2230Andrey Andreev1-3/+3
2013-02-08[ci skip] Remove unnecessary string casts in PaginationAndrey Andreev1-3/+2
2013-02-08Merge pull request #2199 from cryode/feature/paginationAndrey Andreev1-83/+116
Multiple pagination bug fixes & optimizations.
2013-02-08[ci skip] Add a missing spaceAndrey Andreev1-1/+1
2013-02-08Allow non-string values to be used as captcha words (issue #2215)Andrey Andreev1-1/+5
2013-02-04Cleaned up for pull request.Sajan Parikh2-8/+6
Signed-off-by: Sajan Parikh <sajan@noppix.com>
2013-02-02Added error message in lang file.Sajan Parikh1-5/+6
Signed-off-by: Sajan Parikh <sajan@noppix.com>
2013-02-02Added Form Validation rule for alphanum + spaces.Sajan Parikh1-0/+15
Signed-off-by: Sajan Parikh <sajan@noppix.com>
2013-01-30core comment error.Bo-Yi Wu1-1/+1
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2013-01-30Fix/improve #2211Andrey Andreev1-2/+2
2013-01-29Replace CI_Upload::clean_file_name() usage with CI_Security::sanitize_filename()Andrey Andreev2-49/+11
Also applied @xeptor's fix (a big thanks) to the sanitize_filename() method and added a changelog entry for it - fixes issue #73.
2013-01-29Merge branch 'develop' of github.com:EllisLab/CodeIgniter into developAndrey Andreev3-0/+3
2013-01-29Replace is_file() with the faster file_exists()Andrey Andreev8-38/+65
(where it makes sense) Also: - Implemented caching of configuration arrays for smileys, foreign characters and doctypes. - Implemented cascading-style loading of configuration files (except for library configs, DB and constants.php).
2013-01-29Replace is_numeric() with ctype_digit()Eric Roberts1-6/+13
Signed-off-by: Eric Roberts <eric@cryode.com>
2013-01-29Move $get assignment to if/else.Eric Roberts1-2/+4
Signed-off-by: Eric Roberts <eric@cryode.com>
2013-01-29Fix list_fields seek bugChris Buckley3-0/+3
On the first list_fields call, the field pointer is moved to the end of the list of fields. This change ensures that the pointer is positioned at the start of the field list before grabbing the names. Signed-off-by: Chris Buckley <chris@cmbuckley.co.uk>
2013-01-29Remove spaces from concats.Eric Roberts1-5/+5
Signed-off-by: Eric Roberts <eric@cryode.com>
2013-01-28Fix issue #2202 and alter Loader Class docsAndrey Andreev1-1/+1
2013-01-28Some micro-optimization to the Driver library loaderAndrey Andreev1-10/+9
2013-01-28Fix issue #2179Andrey Andreev1-1/+1
2013-01-28Merge branch 'develop' of github.com:EllisLab/CodeIgniter into developAndrey Andreev1-1/+8
2013-01-28Libraries' filenames must be named in a ucfirst-like mannerAndrey Andreev4-85/+61
2013-01-28Remove str_replace in returngommarah1-1/+1
2013-01-28Upload library, clean_file_name function: Fix xss bug.gommarah1-0/+7
For example: If you clear this string "%%3f3f" according to the $bad array will fail. The result will be "%3f" Because str_replace() replaces left to right. Signed-off-by: xeptor <servetozkan@live.com>
2013-01-28Fix auto_link() for the Nth timeAndrey Andreev1-9/+10
- anchor() is for local links and breaks ones that don't have a protocol prefix - Allow :// links (no actual protocol specified) - Further simplified the URL regular expression
2013-01-28Multiple pagination bug fixes & optimizations.Eric Roberts1-83/+107
Signed-off-by: Eric Roberts <eric@cryode.com>
2013-01-28Merge branch 'develop' of github.com:EllisLab/CodeIgniter into developAndrey Andreev1-2/+2
2013-01-28Remove unnecessary defined('ENVIRONMENT') checksAndrey Andreev11-18/+14
As suggested in issue #2134 & PR #2149
2013-01-28Fix newline standardization.Eric Roberts1-2/+2
Signed-off-by: Eric Roberts <eric@cryode.com>
2013-01-26Fix a code comment in Image_libvlakoff1-1/+1
constant FILE_WRITE_MODE contains octal 0666
2013-01-25Fix issue #2191.Edwin Aw1-1/+1
Signed-off-by: Edwin Aw <tkaw220@gmail.com>
2013-01-24Move db_select() call from CI_DB_driver::initialize() to db_connect()Andrey Andreev3-15/+27
so that it's only called by drivers that need it ('mysql', 'mssql'). As proposed in issue #2187.
2013-01-22Merge pull request #2164 from cryode/bug/auto_linkAndrey Andreev1-27/+18
Fix and optimize auto_link() URL helper function.
2013-01-21Adjust regex.Eric Roberts1-1/+1
2013-01-21Partially implement PR #2155Andrey Andreev1-0/+2
2013-01-21[ci skip] Manually apply #2162, #2163Andrey Andreev1-1/+1
2013-01-19Support minify table blockPurwandi1-4/+4
2013-01-19Remove whitespace from empty lines.Eric Roberts1-5/+5
Signed-off-by: Eric Roberts <eric@cryode.com>
2013-01-18Merge pull request #2151 from cryode/feature/output-cache-improvementsAndrey Andreev1-4/+18
Add headers to Output class cache files.
2013-01-18Return spacing on var definitions.Eric Roberts1-6/+6
Signed-off-by: Eric Roberts <eric@cryode.com>
2013-01-18Fix and optimize auto_link() URL helper function.Eric Roberts1-31/+22
Signed-off-by: Eric Roberts <eric@cryode.com>
2013-01-17Fix issues #2160, #2161Andrey Andreev1-11/+6
2013-01-17Merge branch 'develop' of https://github.com/EllisLab/CodeIgniter into ↵Eric Roberts12-27/+27
feature/output-cache-improvements