path = dirname(__FILE__); } /** * Autoloader. * * @param string $class The name of the class to attempt to load. */ public function autoload($class) { // see if this request should be handled by this autoloader if (strpos($class, 'SimplePie') !== 0) { return; } $filename = $this->path . DIRECTORY_SEPARATOR . str_replace('_', DIRECTORY_SEPARATOR, $class) . '.php'; include $filename; } }