Skip to content

Commit

Permalink
Merge upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
narfbg committed Feb 1, 2012
2 parents cee2efb + 27c80af commit 2df9cba
Show file tree
Hide file tree
Showing 20 changed files with 479 additions and 829 deletions.
2 changes: 1 addition & 1 deletion system/core/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function __construct()
{
if (isset($_SERVER['HTTP_HOST']))
{
$base_url = isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) !== 'off' ? 'https' : 'http';
$base_url = ! empty($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) !== 'off' ? 'https' : 'http';
$base_url .= '://'. $_SERVER['HTTP_HOST']
. str_replace(basename($_SERVER['SCRIPT_NAME']), '', $_SERVER['SCRIPT_NAME']);
}
Expand Down
2 changes: 1 addition & 1 deletion system/database/DB_driver.php
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ function version()

// Some DBs have functions that return the version, and don't run special
// SQL queries per se. In these instances, just return the result.
$driver_version_exceptions = array('oci8', 'sqlite', 'cubrid', 'pdo');
$driver_version_exceptions = array('oci8', 'sqlite', 'cubrid', 'pdo', 'mysqli');

if (in_array($this->dbdriver, $driver_version_exceptions))
{
Expand Down
Loading

0 comments on commit 2df9cba

Please sign in to comment.