/ Published in: PHP
Expand |
Embed | Plain Text
<?php require_once( "$preIP/includes/WebStart.php" ); 'doc', 'docx', 'odt', 'rtf', 'psw', 'ott', 'docm', 'wps', 'ots', 'ods', 'xls', 'xlt', 'csv', 'pxl', 'xlm', 'xlsm', 'xlsx', 'xltx', 'odp', 'otp', 'ppt', 'pps', 'pptx', 'ppsx', 'pdf' , 'jpg' , 'jpeg' , 'jpg' , 'gif', 'bmp', 'png' ); && $_COOKIE["{$wgCookiePrefix}UserID"] == $_SESSION['wsUserID'] && $_COOKIE["{$wgCookiePrefix}UserName"] == $_SESSION['wsUserName'] ){ $mime = MimeMagic::singleton()->getTypesForExtension($ext); } } else{ } } } } }
You need to login to post a comment.
