mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-30 11:11:23 +02:00
52 lines
797 B
PHP
52 lines
797 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
|
|
{
|
|
public function get_name()
|
|
{
|
|
return 'local';
|
|
}
|
|
|
|
public function get_class()
|
|
{
|
|
return get_class($this);
|
|
}
|
|
|
|
/**
|
|
* {@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;
|
|
}
|
|
}
|