2011-04-16 14:35:21 +04:00
|
|
|
<?php
|
|
|
|
$RUNTIME_NOAPPS=true; //no need to load the apps
|
|
|
|
|
2011-06-02 04:45:35 +04:00
|
|
|
require_once '../../../lib/base.php';
|
2011-04-16 14:35:21 +04:00
|
|
|
|
2011-06-02 04:45:35 +04:00
|
|
|
require_once '../lib_public.php';
|
2011-04-16 14:35:21 +04:00
|
|
|
|
|
|
|
$path=$_GET['path'];
|
2011-08-08 15:19:22 +04:00
|
|
|
$expire=0;
|
2011-04-16 14:35:21 +04:00
|
|
|
|
|
|
|
$link=new OC_PublicLink($path,$expire);
|
|
|
|
echo $link->getToken();
|
2011-08-08 15:19:22 +04:00
|
|
|
?>
|