list($this->width , $this->height) = $imgs;
}
}
- print_r($this->mimetype);exit;
+
if($this->mimetype == 'application/pdf'){
require_once 'System.php';
foreach ($info as $i){
- if(!preg_match('/^Pages:[\s]?([0-9]+)/', $i, $matches)){
+ if(!preg_match('/^Pages:[\s]*([0-9]+)/', $i, $matches)){
continue;
}
print_R($matches);exit;