Linux host2.homegym.sg 4.18.0-553.8.1.el8_10.x86_64 #1 SMP Tue Jul 2 07:26:33 EDT 2024 x86_64
Apache
Server IP : 159.223.38.192 & Your IP : 159.223.38.192
Domains : 20 Domain
User : eachadea
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Lock Shell
Lock File++
Readme
/
home /
eachadea /
public_html /
homegym.my /
shell /
Delete
Unzip
Name
Size
Permission
Date
Action
extendware
[ DIR ]
drwxr-xr-x
2025-10-31 00:40
.htaccess
127
B
-r--r--r--
2025-10-31 00:39
abstract.php
5.54
KB
-rw-r--r--
2019-06-20 14:00
compiler.php
4.27
KB
-rw-r--r--
2019-06-20 14:00
doc.php
12.56
KB
-rw-r--r--
2025-10-28 12:47
email.php
2.28
KB
-rw-r--r--
2019-06-20 14:00
email_test.php
3.67
KB
-rw-r--r--
2019-06-20 14:00
error_log
1.4
MB
-rw-r--r--
2019-06-20 14:00
fpc.php
1.66
KB
-rw-r--r--
2019-06-20 14:00
helpdesk.php
1.29
KB
-rw-rw-r--
2019-06-20 14:00
indexer.php
8.01
KB
-rw-r--r--
2019-06-20 14:00
log.php
5.77
KB
-rw-r--r--
2019-06-20 14:00
mailchimp_converter.php
3.02
KB
-rw-r--r--
2019-06-20 14:00
misspell.php
814
B
-rw-r--r--
2019-06-20 14:00
rewards.php
842
B
-rw-r--r--
2019-06-20 14:00
scheduler.php
13.21
KB
-rw-rw-rw-
2019-06-20 14:00
search.php
3.68
KB
-rw-r--r--
2019-06-20 14:00
searchautocomplete.php
832
B
-rw-r--r--
2019-06-20 14:00
tools.php
8.76
KB
-rw-r--r--
2019-06-20 14:00
Save
Rename
<?php /** * Mirasvit * * This source file is subject to the Mirasvit Software License, which is available at http://mirasvit.com/license/. * Do not edit or add to this file if you wish to upgrade the to newer versions in the future. * If you wish to customize this module for your needs * Please refer to http://www.magentocommerce.com for more information. * * @category Mirasvit * @package Follow Up Email * @version 1.0.2 * @revision 271 * @copyright Copyright (C) 2014 Mirasvit (http://mirasvit.com/) */ require_once 'abstract.php'; class Mirasvit_Shell_Email extends Mage_Shell_Abstract { public function run() { // $this->_runTest(); // $this->_clearDatabase(); Mage::getModel('email/observer')->sendQueue(); Mage::getModel('email/observer')->checkEvents(); echo 'ok'; } public function _runTest() { $this->_clearDatabase(); // $orderCollection = Mage::getModel('sales/order')->getCollection(); // foreach ($orderCollection as $order) { // $orderStatuses = Mage::getSingleton('sales/order_config')->getStatuses(); // foreach ($orderStatuses as $status => $statusName) { // $state = 'new'; // $comment = 'Email Suite Test'; // $isCustomerNotified = true; // $order->setState($state, $status, $comment, $isCustomerNotified); // $order->save(); // } // } Mage::getModel('email/observer')->checkEvents(); Mage::getModel('email/observer')->sendQueue(); } public function _clearDatabase() { $resource = Mage::getSingleton('core/resource'); $write = $resource->getConnection('core_write'); $queueTable = $resource->getTableName('email/queue'); $eventTable = $resource->getTableName('email/event'); $variableTable = $resource->getTableName('core/variable_value'); $write->query("DELETE FROM $queueTable"); $write->query("DELETE FROM $eventTable"); $write->query("UPDATE $variableTable SET plain_value = 100"); echo 'cleared'; } public function _validate() { } } $shell = new Mirasvit_Shell_Email(); $shell->run();