X7ROOT File Manager
Current Path:
/var/softaculous/moodle310
var
/
softaculous
/
moodle310
/
ðŸ“
..
📄
NOTES.txt
(1.59 KB)
📄
add_admin.php
(733 B)
📄
check_utf8.php
(5.88 KB)
📄
clone.php
(5.46 KB)
📄
config.php
(745 B)
📄
edit.php
(4.61 KB)
📄
edit.xml
(433 B)
📄
extend.php
(12.42 KB)
📄
fileindex.php
(961 B)
ðŸ“
images
📄
import.php
(6 KB)
📄
info.xml
(3.34 KB)
📄
install.js
(924 B)
📄
install.php
(10.6 KB)
📄
install.xml
(2.61 KB)
ðŸ“
languages
📄
md5
(4.93 KB)
ðŸ“
php53
ðŸ“
php56
ðŸ“
php71
ðŸ“
php81
ðŸ“
php82
📄
privatekey.php
(786 B)
📄
update_pass.php
(541 B)
📄
upgrade.php
(8.88 KB)
📄
upgrade.xml
(307 B)
Editing: privatekey.php
<?php // We do not need this file any more @unlink('privatekey.php'); $ltikey = __mod_lti_verify_private_key(); echo '<kid>'.$ltikey['kid'].'</kid>'; echo '<privatekey>'.$ltikey['privatekey'].'</privatekey>'; function __mod_lti_verify_private_key() { global $error; if (!function_exists('openssl_random_pseudo_bytes')) { $error[] = "openssl must be loaded for openssl_random_pseudo_bytes to function"; return null; } // Create the private key. $kid = bin2hex(openssl_random_pseudo_bytes(10)); $config = array( "digest_alg" => "sha256", "private_key_bits" => 2048, "private_key_type" => OPENSSL_KEYTYPE_RSA, ); $res = openssl_pkey_new($config); openssl_pkey_export($res, $privatekey); return array( 'kid' => $kid, 'privatekey' => $privatekey, ); } ?>
Upload File
Create Folder