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.
anonnews2/public_html/include/include.tahoe.php

13 lines
334 B
PHTML

13 years ago
<?php
if(!isset($_ANONNEWS)) { die(); } // Protect against direct access.
/* This include contains functions related to storage of uploaded files on Tahoe-LAFS. */
function urlsafe_b64encode($string)
{
$string = base64_encode($string);
$string = str_replace(array('+','/','='),array('-','_','='), $string);
return $string;
}
?>