1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-24 20:17:58 +02:00
Files
php-phpbb/phpBB/phpbb/storage/provider/local.php
Rubén Calvo 7f4e47d26f [ticket/15289] Update provider
PHPBB3-15289
2017-09-08 16:22:10 +02:00

50 lines
762 B
PHP

<?php
/**
*
* This file is part of the phpBB Forum Software package.
*
* @copyright (c) phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
* For full copyright and license information, please see
* the docs/CREDITS.txt file.
*
*/
namespace phpbb\storage\provider;
class local implements provider_interface
{
/**
* {@inheritdoc}
*/
public function get_name()
{
return 'local';
}
/**
* {@inheritdoc}
*/
public function get_adapter_class()
{
return \phpbb\storage\adapter\local::class;
}
/**
* {@inheritdoc}
*/
public function get_options()
{
return ['path' => array('type' => 'text')];
}
/**
* {@inheritdoc}
*/
public function is_available()
{
return true;
}
}