Nathanwoodburn.github.io/astra-inc.php

16 lines
263 B
PHP
Raw Normal View History

2021-08-30 15:06:36 +10:00
<?php
try{
$path_to_astra = dirname(__FILE__) .'/Astra.php';
if(file_exists($path_to_astra)){
include($path_to_astra);
if(class_exists('Astra')){
$astra = new Astra();
}
}
}
catch(Exception $e) {
// Graceful degradation
}
?>