%PDF- %PDF-
Direktori : /var/softaculous/mw28/ |
Current File : //var/softaculous/mw28/remove.php |
<?php ////////////////////////////////////////////////////////////// //=========================================================== // edit.php(For individual softwares) //=========================================================== // SOFTACULOUS // Version : 1.0 // Inspired by the DESIRE to be the BEST OF ALL // ---------------------------------------------------------- // Started by: Alons // Date: 10th Jan 2009 // Time: 21:00 hrs // Site: http://www.softaculous.com/ (SOFTACULOUS) // ---------------------------------------------------------- // Please Read the Terms of use at http://www.softaculous.com // ---------------------------------------------------------- //=========================================================== // (c)Softaculous Inc. //=========================================================== ////////////////////////////////////////////////////////////// if(!defined('SOFTACULOUS')){ die('Hacking Attempt'); } ///////////////////////////////////////// // All functions in this PAGE must begin // with TWO UNDERSCORE '__' to avoid // clashes with SOFTACULOUS Functions // e.g. __funcname() ///////////////////////////////////////// ////////////////////////////////////////// // Note : The path of the upgrade package // is $software['path'].'/' . So to // access other files use // $software['path'].'/other_file.ext' ////////////////////////////////////////// //The Edit process function __scripts_pre_remove(){ global $__settings, $globals, $setupcontinue, $error; // Do we need to delete the tmp dir ? We started generating it since 1.27.1 if(!empty($__settings['tmpdir'])){ srm($__settings['tmpdir']); } } //Check whether the Minimum Software configuration matches function __requirements(){ global $__settings, $error, $software, $globals; return true; }