Multiple pagination bug fixes & optimizations.

Signed-off-by: Eric Roberts <eric@cryode.com>
Remove spaces from concats.

Signed-off-by: Eric Roberts <eric@cryode.com>
Move $get assignment to if/else.

Signed-off-by: Eric Roberts <eric@cryode.com>
Replace is_numeric() with ctype_digit()

Signed-off-by: Eric Roberts <eric@cryode.com>
Added 'application/x-zip' mimetype for docx
Merge pull request #2227 from Lasha/patch-1

Added 'application/x-zip' mimetype for docx
Allow non-string values to be used as captcha words (issue #2215)
[ci skip] Add a missing space
Merge pull request #2199 from cryode/feature/pagination

Multiple pagination bug fixes & optimizations.
[ci skip] Remove unnecessary string casts in Pagination
Fix issue #2230
Added small feature to profiler: total execution time count

adds additional information to profiler like:
DATABASE:  test   QUERIES: 3 (0.0016s)  (Hide)
Update system/core/Log.php

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
Added support for changing the default log file extension from .php to whatever is preferred. example (.log)

This is a follow up to this pull request.

https://github.com/EllisLab/CodeIgniter/pull/2243
changes according to narfbg's request
changes according to narfbg's request
Update system/core/Common.php

Updated is_https() to avoid "NULL" or "0" values to set HTTPS.
Merge pull request #2241 from TimHas/develop

Added small feature to profiler: total execution time count
Update system/core/Log.php

Added ltrim() as requested to strip '.' incase it's added by mistake.
Update system/core/Log.php

Don't print no script access code into log file if log file is not .php anymore.