<?php //used to send reminder emails (this task is automatically performed when application is used, so cronjob is only needed when application wasn't used for a while) require_once(__DIR__."/apl_config.php"); require_once(__DIR__."/apl_ver.php"); require_once(__DIR__."/apl_settings.php"); if (CRONJOB_DEBUG===true) //send debug email { $email_subject="Cronjob Debug"; $email_text="$PRODUCT_NAME cronjob at <a href=\"$ROOT_URL\">$ROOT_URL</a> works perfectly! It's recommended to disable cronjob debugging now."; emailAdmin($email_subject, $email_text); }