diff options
-rw-r--r-- | application/config/mimes.php | 2 | ||||
-rw-r--r-- | system/core/Loader.php | 2 | ||||
-rw-r--r-- | system/libraries/Email.php | 2 | ||||
-rw-r--r-- | user_guide_src/source/libraries/xmlrpc.rst | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/application/config/mimes.php b/application/config/mimes.php index 6ff381279..32d10f6c1 100644 --- a/application/config/mimes.php +++ b/application/config/mimes.php @@ -49,7 +49,7 @@ return array( 'sea' => 'application/octet-stream', 'dll' => 'application/octet-stream', 'oda' => 'application/oda', - 'pdf' => array('application/pdf', 'application/x-download', 'binary/octet-stream'), + 'pdf' => array('application/pdf', 'application/force-download', 'application/x-download', 'binary/octet-stream'), 'ai' => array('application/pdf', 'application/postscript'), 'eps' => 'application/postscript', 'ps' => 'application/postscript', diff --git a/system/core/Loader.php b/system/core/Loader.php index 49bd641b1..70a6b6fa6 100644 --- a/system/core/Loader.php +++ b/system/core/Loader.php @@ -955,7 +955,7 @@ class CI_Loader { // Is this a class extension request? if (file_exists($subclass)) { - $baseclass = BASEPATH.'libraries/'.$class.'.php'; + $baseclass = BASEPATH.'libraries/'.$subdir.$class.'.php'; if ( ! file_exists($baseclass)) { diff --git a/system/libraries/Email.php b/system/libraries/Email.php index 10253c796..0c83a8ba9 100644 --- a/system/libraries/Email.php +++ b/system/libraries/Email.php @@ -1275,7 +1275,7 @@ class CI_Email { if ($this->send_multipart === FALSE) { $hdr .= 'Content-Type: text/html; charset='.$this->charset.$this->newline - .'Content-Transfer-Encoding: quoted-printable'; + .'Content-Transfer-Encoding: quoted-printable'.$this->newline.$this->newline; } else { diff --git a/user_guide_src/source/libraries/xmlrpc.rst b/user_guide_src/source/libraries/xmlrpc.rst index b478a2ded..a43c48837 100644 --- a/user_guide_src/source/libraries/xmlrpc.rst +++ b/user_guide_src/source/libraries/xmlrpc.rst @@ -423,7 +423,7 @@ the Server. $parameters = $request->output_parameters(); $name = $parameters[0]['name']; $size = $parameters[1]['size']; - $size = $parameters[1]['shape']; + $shape = $parameters[1]['shape']; ************************** XML-RPC Function Reference |