* Added main mail class * notification class extends mail class * Added mail template for IDLE workers * Added notification table to SQL structure This works already but once notified the status is not reset as soon as a worker is active again. Need to think of a system to do that automatically. Addresses #116
19 lines
788 B
PHP
19 lines
788 B
PHP
<?php
|
|
|
|
require_once(CLASS_DIR . '/debug.class.php');
|
|
require_once(CLASS_DIR . '/bitcoin.class.php');
|
|
require_once(CLASS_DIR . '/statscache.class.php');
|
|
require_once(CLASS_DIR . '/bitcoinwrapper.class.php');
|
|
require_once(INCLUDE_DIR . '/database.inc.php');
|
|
require_once(INCLUDE_DIR . '/smarty.inc.php');
|
|
// Load classes that need the above as dependencies
|
|
require_once(CLASS_DIR . '/block.class.php');
|
|
require_once(CLASS_DIR . '/user.class.php');
|
|
require_once(CLASS_DIR . '/share.class.php');
|
|
require_once(CLASS_DIR . '/worker.class.php');
|
|
require_once(CLASS_DIR . '/statistics.class.php');
|
|
require_once(CLASS_DIR . '/transaction.class.php');
|
|
require_once(CLASS_DIR . '/setting.class.php');
|
|
require_once(CLASS_DIR . '/mail.class.php');
|
|
require_once(CLASS_DIR . '/notification.class.php');
|