Astra Security
This commit is contained in:
16
astra-inc.php
Normal file
16
astra-inc.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?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
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user