concrete/src/Application/Application.php
public function setupFilesystem()
    {
        $config = $this['config'];

        if (!is_dir($config->get('concrete.cache.directory'))) {
            @mkdir($config->get('concrete.cache.directory'), $config->get('concrete.filesystem.permissions.directory'));
            @touch($config->get('concrete.cache.directory') . '/index.html', $config->get('concrete.filesystem.permissions.file'));
        }
    }
public function setupFilesystem()
    {
        $config = $this['config'];

        if (!is_dir($config->get('concrete.cache.directory'))) {
            @mkdir($config->get('concrete.cache.directory'), $config->get('concrete.filesystem.permissions.directory'));
            @touch($config->get('concrete.cache.directory') . '/index.html', $config->get('concrete.filesystem.permissions.file'));
        }
    }
public function setupFilesystem ( ) { $ config = $ this [ 'config' ] ; if ( ! is_dir ( $ config -> get ( 'concrete.cache.directory' ) ) ) { @ mkdir ( $ config -> get ( 'concrete.cache.directory' ) , $ config -> get ( 'concrete.filesystem.permissions.directory' ) ) ; @ touch ( $ config -> get ( 'concrete.cache.directory' ) . '/index.html' , $ config -> get ( 'concrete.filesystem.permissions.file' ) ) ; } }
Ensure we have a cache directory.
Ensure we have a cache directory .