lets not serve published files

This commit is contained in:
Alex Grin 2017-03-29 21:17:33 -04:00 committed by GitHub
parent 411348d341
commit 861483c997

View file

@ -33,7 +33,7 @@ class LBRY
public static function publishPublicClaim($name, $tmpFileName) public static function publishPublicClaim($name, $tmpFileName)
{ {
$filePath = '/home/lbry/spee.ch/publishes/newupload-' . random_int(1, PHP_INT_MAX); $filePath = '/home/lbry/publishes/newupload-' . random_int(1, PHP_INT_MAX);
move_uploaded_file($tmpFileName, $filePath); move_uploaded_file($tmpFileName, $filePath);