private function setupDirectories()
    {
        // Check if the internal directory is present
        if(!file_exists($dir = config('assetprocessor.cache.directory')))
        {
            // It doesn't, so make the folder
            mkdir($dir, 0777, true);
        }

        // Check if the external directory is available
        if(!file_exists($dir = config('assetprocessor.cache.external', config('assetprocessor.cache.directory'))))
        {
            // It doesn't, so make the folder
            mkdir($dir, 0777, true);
        }

        // Check if the external directory is available (CSS)
        if(!file_exists($dir = config('assetprocessor.cache.external', config('assetprocessor.cache.directory')) . '/css'))
        {
            // It doesn't, so make the folder
            mkdir($dir, 0777, true);
        }

        // Check if the external directory is available (JavaScript)
        if(!file_exists($dir = config('assetprocessor.cache.external', config('assetprocessor.cache.directory')) . '/js'))
        {
            // It doesn't, so make the folder
            mkdir($dir, 0777, true);
        }
    }