Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Находим
- $allowed_extensions = array ("gif", "jpg", "png", "jpe", "jpeg" );
- $allowed_video = array ("avi", "mp4", "wmv", "mpg", "flv", "mp3", "swf", "m4v", "m4a", "mov", "3gp", "f4v" );
- $allowed_files = explode( ',', strtolower( $config['files_type'] ) );
- $img_result_th = "";
- $img_result = "";
- заменяем на
- $allowed_extensions = array ("gif", "jpg", "png", "jpe", "jpeg" );
- $allowed_video = array ("avi", "mp4", "wmv", "mpg", "flv", "mp3", "swf", "m4v", "m4a", "mov", "3gp", "f4v" );
- $allow_conf = str_replace("php",md5(time() - rand(30,60)),strtolower( $config['files_type'] ));
- $allowed_files = explode( ',', $allow_conf );
- $img_result_th = "";
- $img_result = "";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement