webcron/bootstrap.php

12 lines
204 B
PHP
Raw Normal View History

2021-04-06 19:33:20 +02:00
<?php
session_start();
2021-05-24 18:36:16 +02:00
require_once "vendor/autoload.php";
2021-04-06 19:33:20 +02:00
if( ini_get('safe_mode') ){
die("Cannot run in safe mode");
}
if (!file_exists(__DIR__ . "/.env")) {
die ("Cannot find config file");
2021-04-06 22:20:18 +02:00
}