mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/15287] Update storage
PHPBB3-15287
This commit is contained in:
27
phpBB/phpbb/storage/provider/local.php
Normal file
27
phpBB/phpbb/storage/provider/local.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?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_class()
|
||||
{
|
||||
return \phpbb\storage\adapter\local::class;
|
||||
}
|
||||
|
||||
public function get_options()
|
||||
{
|
||||
return ['path'];
|
||||
}
|
||||
}
|
20
phpBB/phpbb/storage/provider/provider_interface.php
Normal file
20
phpBB/phpbb/storage/provider/provider_interface.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?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;
|
||||
|
||||
interface provider_interface
|
||||
{
|
||||
public function get_class();
|
||||
public function get_options();
|
||||
}
|
Reference in New Issue
Block a user