10 lines
275 B
PHP
10 lines
275 B
PHP
<?php
|
|
|
|
class RippingCluster_Utility_DvdDirectoryIterator extends FilterIterator {
|
|
public function accept() {
|
|
return is_dir($this->current()->getPathname() . DIRECTORY_SEPARATOR . 'VIDEO_TS') || preg_match('/\.iso$/', $this->current()->getPathname());
|
|
}
|
|
}
|
|
|
|
?>
|