nextcloud/plugins/publiclink/getfile.php

10 lines
186 B
PHP

<?php
$RUNTIME_NOAPPS=true; //no need to load the apps
require_once '../../lib/base.php';
require_once 'lib_public.php';
$token=$_GET['token'];
OC_PublicLink::downloadFile($token);
?>