Location: PHPKode > projects > phpSC > addons/proxy/addon_install.php
<?PHP
$install_message = TRUE;
exec("cp "._DOCUMENT_ROOT."/addons/proxy/proxy_edit.php "._DOCUMENT_ROOT."/modules/proxy_edit.php");
exec("cp "._DOCUMENT_ROOT."/addons/proxy/proxy_listen.php "._DOCUMENT_ROOT."/external/proxy_listen.php");
if(!file_exists(_DOCUMENT_ROOT."/modules/proxy_edit.php")) {
$install_message = FALSE;
}
if(!file_exists(_DOCUMENT_ROOT."/external/proxy_listen.php")) {
$install_message = FALSE;
}
//exec(cp _DOCUMENT_ROOT."/addons/proxy/proxy_license.txt "._DOCUMENT_ROOT."/licenses/proxy.txt") or die();
?>
Return current item: phpSC