Just wanted to know if UNiTE 3.0 is suppose to delete ALL the Files and Directories first?
Thanks, Mark
Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Thanks, Mark
Nicholas K. Dionysopoulos
Lead Developer and Director
🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!
Thanks, Mark
Nicholas K. Dionysopoulos
Lead Developer and Director
🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!
Thanks, Mark
Thanks, Mark
Fatal error: Class 'UStepDeletefiles' not found in /home/freelocksmith/public_html/unite/engine/factory.php on line 56
<?php // Protection against direct access defined('UNITE') or die('Restricted access'); class UStepDeletefiles extends UAbstractPart { protected function _prepare() { // This is mandatory. Do not remove. $this->setState('prepared'); } protected function _run() { // PLACE YOUR CODE HERE -- BEGIN // PLACE YOUR CODE HERE -- END // After your code put this line. It's mandatory. $this->setState('postrun'); } protected function _finalize() { // This is mandatory. Do not remove. $this->setState('finished'); } }
Nicholas K. Dionysopoulos
Lead Developer and Director
🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!
Thanks, Mark
RemoveDirectory(getcwd());
$this->RemoveDirectory(getcwd());
Nicholas K. Dionysopoulos
Lead Developer and Director
🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!
function RemoveDirectory($directory){ foreach (glob("{$directory}/*") as $file) { if ($file!=$directory.'/unite' && $file!=$directory.'/tmp' ){ if(is_dir($file)) { RemoveDirectory($file); } else { unlink($file); } } } if($directory!=getcwd()){ rmdir($directory); } }
Thanks, Mark
Nicholas K. Dionysopoulos
Lead Developer and Director
🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!
echo $_SERVER['DOCUMENT_ROOT']; $this->RemoveDirectory(getcwd()); $this->MakeFile(getcwd()); $this->chdir('unite'); function RemoveDirectory($directory){ foreach (glob("{$directory}/*") as $file) { if ($file!=$directory.'/unite' && $file!=$directory.'/tmp' ){ if(is_dir($file)) { $this->RemoveDirectory($file); } else { $this->unlink($file); } } } if($directory!=getcwd()){ $this->rmdir($directory); } } function MakeFile($fp){ $content = "<!DOCTYPE html><title></title></html>"; $fp = fopen($_SERVER['DOCUMENT_ROOT'] . "/index.php","wb"); fwrite($fp,$content); fclose($fp); }
Thanks, Mark
Nicholas K. Dionysopoulos
Lead Developer and Director
🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!
Nicholas K. Dionysopoulos
Lead Developer and Director
🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!
Thanks, Mark
Nicholas K. Dionysopoulos
Lead Developer and Director
🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!
Working hours: Typically we work Monday to Friday, 9am to 7pm Cyprus timezone (EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets, but we cannot respond to them, outside of our working hours.
Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!
Summer vacations: Our support will be closed for replies and new tickets from August 6th to August 21st, 2022 due to summer vacations.