Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Based on code/ideas from PR #365, #1254
|
|
|
|
The name is "application/", not "applications/".
(This commit does not change managing_apps.rst,
where "applications/" is used intentionally).
|
|
|
|
|
|
|
|
|
|
Added support for timestamp-based migrations
|
|
(feature request #1987)
|
|
Signed-off-by: Jonathon Hill <jhill@brandmovers.com>
|
|
Signed-off-by: Jonathon Hill <jhill@brandmovers.com>
|
|
Conflicts:
user_guide_src/source/changelog.rst
Signed-off-by: Jonathon Hill <jhill@brandmovers.com>
|
|
|
|
(it was temporarily removed due to multiple inconsistencies with other drivers)
This commit also fixes issue #1988.
Also added support for the FIRST clause (again, MySQL and CUBRID only).
|
|
It is a core class after all, I guess somebody forgot it when the rest of them were moved.
|
|
|
|
String helper random_string() and URL helper url_title()
|
|
trim(, '/') is even shorter ...
|
|
|
|
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)
|
|
|
|
Helps in reading php://input stream data by caching it when accessed for the first time.
(supersedes PR #1684)
|
|
|
|
"Fixes" #1895
|
|
Also, their property is no longer public and the utility class no longer extends CI_DB_forge.
|
|
- PDO subdrivers are isolated from each other now.
- Added compatibility for pretty much all of the features, for every DB platform.
- Unified the way that stuff works in general.
- Fixes issue #1005.
|
|
It appears to break get_instance()->*_package_path*() usage which is very common.
Need to figure out how to resolve this.
|
|
|
|
That method used to be called by the CI_Controller constructor
and was required because of the possibility to instantiate the
Controller class twice due to 404_override, and so some properties
needed to be reset.
Following the last commit - this is no longer the case.
|
|
- Don't instantiate the CI singleton twice.
- General clean-up.
- Fix issue #953.
|
|
|
|
|
|
Supersedes PR #642
|
|
Re-instaing an improved form_prep() function, reverting most of the changes from 74ffd17ab06327ca62ddfe28a186cae7ba6bd459.
|
|
|
|
(thanks to @sourcejedi, PR #1326)
Up until PHP 5.2.4 (which is our new lowest requirement),
there was a bug related to PATH_INFO which made REQUEST_URI
a more reliable choice. This is now no longer the case,
see https://bugs.php.net/bug.php?id=31892 for more details.
Also removed ORIG_PATH_INFO from the suggested alternatives
for uri_protocol in application/config/config.php as it will
not exist in most of PHP's recent versions and is pointless
when you can use PATH_INFO anyway.
|
|
Signed-off-by: Jonathon Hill <jhill@brandmovers.com>
|
|
(thanks to @sourcejedi, PR #1326 for pointing inconsistencies with RFC2616
|
|
|
|
|
|
(thanks to @sourcejedi, PR #1326 for most of the ideas)
- Renamed _detect_uri() and _parse_cli_args() to _parse_request_uri() and _parse_argv() respectively.
- Added _parse_query_string() which allows us to detect the URI path from QUERY_STRING much like it is done in _parse_request_uri().
(the above changes also allow for a simpler logic in the case where the *uri_protocol* setting is not set to 'AUTO')
- Updated application/config/config.php with a better list of the *uri_protocol* options.
- Added _reset_query_string() to aid in re-processing from the QUERY_STRING (utilized in _parse_request_uri() and _parse_query_string()).
|
|
(thanks to @sourcejedi, PR #1326)
For HTTP/1.1 compliance, RFC2616 specifies that both relative
and absolute URI formats must be accepted:
- http://localhost/path/ (absolute)
- /path/ (relative)
|
|
Signed-off-by: GDmac <grdalenoort@gmail.com>
|
|
|
|
|
|
the Loader class DocBlocks
|
|
- Disable register_globals replication on PHP 5.4+ (no longer exists).
- DocBlock improvements.
- Add missing changelog entry.
- Change user_agent() to return NULL when no value is found (for consistency with other fetcher methods).
|
|
CI_Config::_assign_to_config()
Existance of _assign_to_config() is pointless as this method
consists just of a foreach calling CI_Config::set_item() and
is only called by CodeIgniter.php - moved that foreach() in
there instead.
|
|
|