Added Other AP
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
if (!array_key_exists('savvyext', $GLOBALS)) {
|
||||
$savvyext = new savvyext_api_savvy\SavvyExt();
|
||||
/*
|
||||
$USER = $_SERVER['SCRIPT_FILENAME'];
|
||||
$USER = str_replace('/home', '', $USER);
|
||||
$USER = strtok($USER, '/');
|
||||
if ($USER=='opt') $USER = 'root';
|
||||
// Load API class
|
||||
$USER="savvy";
|
||||
$savvyext_class = 'savvyext_api_' . $USER . '\\SavvyExt';
|
||||
$savvyext = new $savvyext_class();
|
||||
*/
|
||||
}
|
||||
Reference in New Issue
Block a user