public static function confirgure($base_directory)
    {
        if (static::$directory === null || static::$directory !== $base_directory) {
            static::$directory = $base_directory;
        }

        if (!is_dir($base_directory)) {
            @mkdir($base_directory, 0777);
        }
    }
public static function confirgure($base_directory)
    {
        if (static::$directory === null || static::$directory !== $base_directory) {
            static::$directory = $base_directory;
        }

        if (!is_dir($base_directory)) {
            @mkdir($base_directory, 0777);
        }
    }
public static function confirgure ( $ base_directory ) { if ( static :: $ directory === null || static :: $ directory !== $ base_directory ) { static :: $ directory = $ base_directory ; } if ( ! is_dir ( $ base_directory ) ) { @ mkdir ( $ base_directory , 0777 ) ; } }
Cache configuration method

@param string $base_directory
Cache configuration method