X7ROOT File Manager
Current Path:
/var/softaculous/cpg
var
/
softaculous
/
cpg
/
📁
..
📄
_update.php
(32.32 KB)
📄
changelog.txt
(19.29 KB)
📄
clone.php
(5.1 KB)
📄
config.inc.php
(462 B)
📄
edit.php
(5.92 KB)
📄
edit.xml
(433 B)
📄
extend.php
(1.84 KB)
📄
fileindex.php
(1001 B)
📁
images
📄
import.php
(3.17 KB)
📄
info.xml
(4.33 KB)
📄
install.js
(1.07 KB)
📄
install.php
(5.3 KB)
📄
install.xml
(1.06 KB)
📄
md5
(1.26 KB)
📄
notes.txt
(430 B)
📁
php53
📁
php56
📁
php71
📁
php81
📁
php82
📄
update.php
(32.33 KB)
📄
update_pass.php
(2.04 KB)
📄
upgrade.php
(4.32 KB)
📄
upgrade.xml
(625 B)
Editing: install.js
////////////////////////////////////////////////////////////// // install.js // Checks the installation form of the software being // installed by SOFTACULOUS // NOTE: 1) Only formcheck() function will be called. // 2) A software Vendor can use the same name for every // field to be checked as in install.xml . It can be // called using $('fieldname').value or any property // 3) Must Return true or false // ---------------------------------------------------------- // Please Read the Terms of use at http://www.softaculous.com // ---------------------------------------------------------- // (c)Softaculous Inc. ////////////////////////////////////////////////////////////// function formcheck(){ if(!(/^([a-zA-Z0-9])*$/.test($('admin_username').value)) || !(/^([a-zA-Z0-9])*$/.test($('admin_pass').value))){ alert('{{err_admin_userpass}}'); return false; } //Check the Admin Email if(window.check_punycode){ if(!check_punycode($('admin_email').value)){ alert('{{err_ademail}}'); return false; } return true; } return true; };
Upload File
Create Folder