You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
320 B
PHP
17 lines
320 B
PHP
<?php
|
|
|
|
namespace OCA\Office;
|
|
|
|
class Genesis {
|
|
|
|
public static function serve($args){
|
|
\OCP\User::checkLoggedIn();
|
|
|
|
$session = Session::getSession(@$args['es_id']);
|
|
|
|
$filename = isset($session['genesis_url']) ? $session['genesis_url'] : '';
|
|
$download = new Download($filename);
|
|
$download->sendResponse();
|
|
}
|
|
|
|
} |