Пример #1
0
 public static function init($config, $watermark_config, $table = '')
 {
     self::$config = $config;
     self::$watermark_config = $watermark_config;
     $_table_name = $config['table'];
     if (empty($_table_name)) {
         self::$TABLE = $table ? $table : 'filedata';
         //文件记录表
     }
 }