forked from wallabag/wallabag
merge epub with all the dev evolutions
This commit is contained in:
@ -120,7 +120,16 @@ class Routing
|
||||
$this->wallabag->deleteUser($_POST['password4deletinguser']);
|
||||
} elseif (isset($_GET['epub'])) {
|
||||
$epub = new WallabagEpub($this->wallabag, $_GET['method'], $_GET['value']);
|
||||
$epub->run();
|
||||
$epub->prepareData();
|
||||
$epub->produceEpub();
|
||||
} elseif (isset($_GET['mobi'])) {
|
||||
$mobi = new WallabagMobi($this->wallabag, $_GET['method'], $_GET['value']);
|
||||
$mobi->prepareData();
|
||||
$mobi->produceMobi();
|
||||
} elseif (isset($_GET['pdf'])) {
|
||||
$pdf = new WallabagPDF($this->wallabag, $_GET['method'], $_GET['value']);
|
||||
$pdf->prepareData();
|
||||
$pdf->producePDF();
|
||||
} elseif (isset($_GET['import'])) {
|
||||
$import = $this->wallabag->import();
|
||||
$tplVars = array_merge($this->vars, $import);
|
||||
@ -148,4 +157,4 @@ class Routing
|
||||
{
|
||||
echo $this->wallabag->tpl->render($file, $vars);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user