Update classes/cache/storage/file.php

If subsection is defined, also delete subsection directory.
Added Content-Length to the Response
This now counts the string length of the response body and outputs
the Content-Length header accordingly.

Signed-off-by: Tom Schlick <tom@tomschlick.com>
switched to  multibyte length function (mb_strlen)

Signed-off-by: Tom Schlick <tom@tomschlick.com>
Checking if mb_strlen exists first

fall back to strlen
using MBSTRING
fix db connections for migrations

Signed-off-by: P. Isaac Hildebrandt <king.isaac@gmail.com>
moved deletion of old migration file into upgrade check
This line was causing issues with the connection name being saved in the top level config directory as that
file would be deleted every time migration was loaded

Signed-off-by: P. Isaac Hildebrandt <king.isaac@gmail.com>
Merge pull request #1236 from ihildebrandt/1.5/migrations

Enable connection setting for migrations
removed the Log class, is replaced by the Log package
have logger() write logs to the profiler console
replaced loading the Log class by loading the log package in logger()
have logger() validate the log level passed for monolog compatibility
fixed broken log level filtering
removed the Log class unit tests
Merge branch '1.5/develop' of https://github.com/fuel/core into 1.5/develop
rethrow exception in DBUtil::table_exists if no connection was made
Merge pull request #1261 from tomschlick/request-content-length

Added Content-Length to the Response
Merge pull request #1255 from bijsterz/patch-2

Update classes/cache/storage/file.php
Throw an exception if an non-existing file instance is requested. Closes #1248
reverted c0dad779c573bcb2560f2473ff4a534984185f9b, to many side effects