Fix and optimize auto_link() URL helper function.

Signed-off-by: Eric Roberts <eric@cryode.com>
Remove whitespace from empty lines.

Signed-off-by: Eric Roberts <eric@cryode.com>
Support minify table block
Merge pull request #2171 from purwandi/minify-table-block

Support minify table block in output
[ci skip] Add text/plain as a valid MIME for js,css,*html,xml
[ci skip] Manually apply #2162, #2163
Partially implement PR #2155
Adjust regex.
Merge pull request #2164 from cryode/bug/auto_link

Fix and optimize auto_link() URL helper function.
Update application/config/config.php
Merge pull request #2185 from OsamaAbbas/patch-1

Update application/config/config.php
Removed slash from URI helper doc

In my current projects I don't see '/controller/method' but 'controller/method' when calling uri_string().
Merge pull request #2186 from 12k/patch-1

Removed slash from URI helper doc
Move db_select() call from CI_DB_driver::initialize() to db_connect()
so that it's only called by drivers that need it ('mysql', 'mssql').

As proposed in issue #2187.
Updated all cases of exit() to return a valid code

Specific codes are as follows, but can easily be changed if a different order/breakdown makes more sense:

- 0: Success; everything executed as planned
- 1: Configuration Error; something is wrong with/in the configuration file(s)
- 2: Class Not Found; what it says
- 3: Driver Method Unsupported; the method you're trying to use on a Driver doesn't exist
- 4: File Not Found; 404 error
- 5: Database Error; something is broken in the database somewhere
- 6: Invalid Input; the user attempted to submit a request with invlaid characters in 1+ key names
7 through 26 are reserved for future use
- 27: Generic Error; generated by show_error() when the status code is >= 100
28 through 127 are errors generated by user applications, normally by using show_error() with a status code below 100
128 through 254 should not be used by applications, as they are reserved by system-level functions
- 255: PHP Fatal Error; automatically generated by PHP for fatal errors, and therefore not allowed for our use

Status codes below 100 are shifted up by 28 to place them in the user error range.  It may make more sense to have these codes
left alone and instead shift the CI errors into the 101 through 127 space, but that's not what I opted for here.

It would probably also be a good idea to replace the hard-coded numbers with constants or some such, but I was in a bit of a
hurry when I made these changes, so I didn't look around for the best place to do this.  With proper guidance, I could
easily amend this commit with another that uses such constant values.

Signed-off-by: Daniel Hunsaker <danhunsaker@gmail.com>
Fix issue #2191.

Signed-off-by: Edwin Aw <tkaw220@gmail.com>
Merge pull request #2192 from tkaw220/develop

Fix issue #2191.
Fix a code comment in Image_lib

constant FILE_WRITE_MODE contains octal 0666
Merge pull request #2194 from vlakoff/develop

Fix a code comment in Image_lib
Add webm mime type

http://www.webmproject.org/about/faq/