This repository has been archived on 2024-08-28. You can view files and clone it, but cannot push or open issues or pull requests.
satori-services/satori.php

17 lines
422 B
PHP
Raw Normal View History

2023-11-06 00:45:15 +00:00
<?php
namespace Satori;
define('SAT_ROOT', __DIR__);
define('SAT_DIR_MIGRATIONS', SAT_ROOT . '/database');
define('SAT_DIR_PUBLIC', SAT_ROOT . '/public');
define('SAT_DEBUG', is_file(SAT_ROOT . '/.debug'));
2024-08-27 03:21:24 +00:00
define('SAT_VERSION', '20240826');
2023-11-06 00:45:15 +00:00
require_once SAT_ROOT . '/vendor/autoload.php';
2024-08-04 23:10:42 +00:00
error_reporting(SAT_DEBUG ? -1 : 0);
2023-11-06 00:45:15 +00:00
mb_internal_encoding('utf-8');
date_default_timezone_set('utc');
2024-08-27 03:21:24 +00:00
$sat = new SatoriContext;