parent
1a76bbcbc8
commit
aaef4c4bf4
3 changed files with 2 additions and 54 deletions
@ -1 +0,0 @@ |
||||
defined('AJXP_EXEC') or die( 'Access not allowed'); |
@ -1,53 +0,0 @@ |
||||
/*********************************************************/ |
||||
/* PLUGINS DEFINITIONS |
||||
/* Drivers will define how the application will work. For |
||||
/* each type of operation, there are multiple implementation |
||||
/* possible. Check the content of the plugins folder. |
||||
/* CONF = users and repositories definition, |
||||
/* AUTH = users authentification mechanism, |
||||
/* LOG = logs of the application. |
||||
/* |
||||
/* By default, the three are all based on files. |
||||
/* |
||||
/* ACTIVE_PLUGINS adds other type of plugins to the application. |
||||
/* If you are developping your own plugin, do not forget to declare |
||||
/* it here. |
||||
/*********************************************************/ |
||||
$PLUGINS = array( |
||||
"CONF_DRIVER" => array( |
||||
"NAME" => "serial", |
||||
"OPTIONS" => array( |
||||
"REPOSITORIES_FILEPATH" => "/var/lib/ajaxplorer/plugins/conf.serial/repo.ser", |
||||
"ROLES_FILEPATH" => "/var/lib/ajaxplorer/plugins/auth.serial/roles.ser", |
||||
"USERS_DIRPATH" => "/var/lib/ajaxplorer/plugins/auth.serial", |
||||
) |
||||
), |
||||
"AUTH_DRIVER" => array( |
||||
"NAME" => "basic_http", |
||||
"OPTIONS" => array( |
||||
"LOGIN_REDIRECT" => false, |
||||
"USERS_FILEPATH" => "/var/lib/ajaxplorer/plugins/auth.serial/users.ser", |
||||
"AUTOCREATE_AJXPUSER" => false, |
||||
"TRANSMIT_CLEAR_PASS" => false, |
||||
"LOGOUT_URL" => "{$ajaxplorer{'LogoutUrl'} || 'http://' . $SystemName . '.' . $DomainName;}" ) |
||||
), |
||||
"LOG_DRIVER" => array( |
||||
"NAME" => "text", |
||||
"OPTIONS" => array( |
||||
"LOG_PATH" => "/var/log/ajaxplorer/", |
||||
"LOG_FILE_NAME" => 'log_' . date('m-d-y') . '.txt', |
||||
"LOG_CHMOD" => 0770 |
||||
) |
||||
), |
||||
// Do not use wildcard for uploader, to keep them in a given order |
||||
// Warning, do not add the "meta." plugins, they are automatically |
||||
// detected and activated by the application. |
||||
"ACTIVE_PLUGINS" => array("editor.*", "uploader.flex", "uploader.html", "gui.ajax", "hook.*") |
||||
); |
||||
if(AJXP_Utils::userAgentIsMobile())\{ |
||||
$PLUGINS["ACTIVE_PLUGINS"][] = "gui.mobile"; |
||||
if(AJXP_Utils::userAgentIsIOS() && !isSet($_GET["skipIOS"]) && !isSet($_COOKIE["SKIP_IOS"]))\{ |
||||
$PLUGINS["ACTIVE_PLUGINS"][] = "gui.ios"; |
||||
\} |
||||
\} |
||||
|
Loading…
Reference in new issue