Add script 'get-openssl-version.sh'.

This commit is contained in:
2023-06-21 11:09:08 +02:00
parent 0a7a61049a
commit 14056b44dd
5032 changed files with 340126 additions and 0 deletions

View File

@ -0,0 +1,31 @@
<?php
use dokuwiki\FeedParserFile;
use SimplePie\File;
/**
* We override some methods of the original SimplePie class here
*/
class FeedParser extends \SimplePie\SimplePie {
/**
* Constructor. Set some defaults
*/
public function __construct(){
parent::__construct();
$this->enable_cache(false);
$this->registry->register(File::class, FeedParserFile::class);
}
/**
* Backward compatibility for older plugins
*
* phpcs:disable PSR1.Methods.CamelCapsMethodName.NotCamelCaps
* @param string $url
*/
public function feed_url($url){
$this->set_feed_url($url);
}
}