public static function getContents($file, $default = '')
    {
        if (is_string(self::$path_prefix)) {
            $file = self::$path_prefix.$file;
        }

        return !is_file($file) || !is_readable($file) || !($contents = @file_get_contents($file)) ? $default : trim($contents);
    }
public static function getContents($file, $default = '')
    {
        if (is_string(self::$path_prefix)) {
            $file = self::$path_prefix.$file;
        }

        return !is_file($file) || !is_readable($file) || !($contents = @file_get_contents($file)) ? $default : trim($contents);
    }
public static function getContents ( $ file , $ default = '' ) { if ( is_string ( self :: $ path_prefix ) ) { $ file = self :: $ path_prefix . $ file ; } return ! is_file ( $ file ) || ! is_readable ( $ file ) || ! ( $ contents = @ file_get_contents ( $ file ) ) ? $ default : trim ( $ contents ) ; }
Get a file's contents, or default to second param
Get a file s contents or default to second param