适配存储接口还是交由第三方插件
This commit is contained in:
@@ -1,26 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Typecho_Storage_Adapter
|
||||
*
|
||||
* @copyright Copyright (c) 2012 Typecho Team. (http://typecho.org)
|
||||
* @author Joyqi <magike.net@gmail.com>
|
||||
* @license GNU General Public License 2.0
|
||||
*/
|
||||
interface Typecho_Storage_Adapter
|
||||
{
|
||||
public static function isAvailable();
|
||||
|
||||
public static function check(array $config);
|
||||
|
||||
public static function config(Typecho_Widget_Helper_Form $form);
|
||||
|
||||
public function get($path);
|
||||
|
||||
public function add($localPath);
|
||||
|
||||
public function set($path, $localPath);
|
||||
|
||||
public function delete($path);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user