- public static function content()
- {
- $app = self::getApp();
- $config = $app->getConfig();
-
- if (($config->get('system', 'block_public') && !local_user() && !remote_user()) ||
- ($config->get('system', 'block_local_dir') && !local_user() && !remote_user())) {
- throw new HTTPException\ForbiddenException();