oaooaPicHome beta1

This commit is contained in:
zyx
2021-09-17 10:56:51 +08:00
Unverified
parent 9dad4df8cd
commit 8935dcb498
1317 changed files with 293114 additions and 0 deletions

14
dzz/pichome/upload.php Normal file
View File

@@ -0,0 +1,14 @@
<?php
/**
* Created by PhpStorm.
* User: a
* Date: 2017/12/26
* Time: 11:38
*/
if (!defined('IN_OAOOA')) {
exit('Access Denied');
}
include libfile ( 'class/uploadhandler' );
$options = array ( 'accept_file_types' => '/\.(gif|jpe?g|png)$/i' , 'upload_dir' => $_G[ 'setting' ][ 'attachdir' ] . 'cache/' , 'upload_url' => $_G[ 'setting' ][ 'attachurl' ] . 'cache/' , 'max_file_size' => 2 * 1024 * 1024 , 'thumbnail' => array ( 'max-width' => 256 , 'max-height' =>256 ) );
$upload_handler = new uploadhandler( $options );
exit();