| @@ -9,6 +9,11 @@ | ||
| 9 | 9 | |
| 10 | 10 | // include cron/bootstrap.php. |
| 11 | 11 | require_once 'bootstrap.php'; // NOSONAR - WP compatible. |
| 12 | 12 | |
| 13 | +// Exit if accessed directly. | |
| 14 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 15 | + exit; | |
| 16 | +} | |
| 17 | + | |
| 13 | 18 | // fire off mainWP->mainwp_cronreconnect_action. |
| 14 | 19 | $mainWP->mainwp_cronreconnect_action(); |