X7ROOT File Manager
Current Path:
/var/softaculous/presta17
var
/
softaculous
/
presta17
/
??
..
??
.htaccess
(5.34 KB)
??
_bootstrap.php
(5.09 KB)
??
bootstrap.php
(5.01 KB)
??
bootstrap_old
??
changelog.txt
(15.89 KB)
??
clone.php
(28.36 KB)
??
clone_bootstrap.php
(5.14 KB)
??
edit.php
(4.93 KB)
??
edit.xml
(447 B)
??
extend.php
(8.48 KB)
??
fileindex.php
(403 B)
??
images
??
import.php
(6.63 KB)
??
info.xml
(4.7 KB)
??
install.js
(1.12 KB)
??
install.php
(20.75 KB)
??
install.xml
(1.51 KB)
??
md5
(1.99 KB)
??
new_order.html
(56.92 KB)
??
notes.txt
(2.95 KB)
??
order_conf.html
(56.13 KB)
??
parameters.php
(830 B)
??
parameters.yml
(11 B)
??
php53
??
php56
??
php71
??
php81
??
php82
??
presta17.sql
(706.43 KB)
??
presta17.zip
(135.99 MB)
??
return_slip.html
(43.86 KB)
??
robots.txt
(4.73 KB)
??
settings.inc.php
(23 B)
??
shop1.json
(3.16 KB)
??
soft_delete.php
(3.08 KB)
??
update_appkey.php
(544 B)
??
update_pass.php
(497 B)
Editing: update_appkey.php
<?php @unlink('update_appkey.php'); //Required to autoload the namespaces require_once 'vendor/autoload.php'; $key = \Defuse\Crypto\Key::createNewRandomKey(); $privateKey = openssl_pkey_new([ 'private_key_bits' => 2048, 'private_key_type' => OPENSSL_KEYTYPE_RSA, ]); openssl_pkey_export($privateKey, $apiPrivateKey); $apiPublicKey = openssl_pkey_get_details($privateKey)['key']; echo '<publickey>'.$apiPublicKey.'</publickey>'; echo '<privatekey>'.$apiPrivateKey.'</privatekey>'; ?>
Upload File
Create Folder