first commit
This commit is contained in:
8
plugins/licensemanager/include/file_functions.php
Normal file
8
plugins/licensemanager/include/file_functions.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
function get_license_file_path(int $ref)
|
||||
{
|
||||
global $storagedir,$scramble_key;
|
||||
if (!file_exists($storagedir . "/license_files/")) {mkdir($storagedir . "/license_files/",0777);}
|
||||
return $storagedir . "/license_files/" . $ref . "_" . md5($scramble_key . $ref) . ".bin";
|
||||
}
|
Reference in New Issue
Block a user