Initial commit
This commit is contained in:
25
init.php
Normal file
25
init.php
Normal file
@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
class Feedprefs extends Plugin {
|
||||
private $host;
|
||||
|
||||
function about() {
|
||||
return array(0.0,
|
||||
"Per feed preferences.",
|
||||
"gilles@grandou.net");
|
||||
}
|
||||
|
||||
function init($host) {
|
||||
$this->host = $host;
|
||||
}
|
||||
|
||||
function get_js() {
|
||||
return file_get_contents(__DIR__ . "/init.js");
|
||||
}
|
||||
|
||||
function api_version() {
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
Reference in New Issue
Block a user