- Protected function url_exists($item=''){
- if ($this->CheckList($item,$this->nofile_keys))return false;
- //if (preg_match( '#(?|href|src)="(.+)"#iU',$item,$url )>0){ //original
- if (preg_match( '(href|src)\\="([^"]+)',$item,$url )>0){
- $path = $this->clean($url[1]);
- $path = $this->find_path($path);
- return $path !== FALSE;
- }
- return false;
- }