Remove templates for bootstrap_plugins.php, and make sure this file is now empty

This commit is contained in:
Daniel Berteaud 2013-10-02 19:30:05 +02:00
parent 1a76bbcbc8
commit aaef4c4bf4
3 changed files with 2 additions and 54 deletions

View File

@ -18,6 +18,8 @@ safe_symlink("/etc/e-smith/templates-default/template-end-php", "root/etc/e-smit
safe_symlink("/etc/e-smith/templates-default/template-end-php", "root/etc/e-smith/templates/etc/ajaxplorer/bootstrap_repositories.php/template-end");
safe_symlink("/etc/e-smith/templates-default/template-begin-php", "root/etc/e-smith/templates/var/cache/ajaxplorer/diag_result.php/template-begin");
safe_symlink("/etc/e-smith/templates-default/template-end-php", "root/etc/e-smith/templates/var/cache/ajaxplorer/diag_result.php/template-end");
safe_symlink("/etc/e-smith/templates-default/template-begin-php", "root/etc/e-smith/templates/etc/ajaxplorer/bootstrap_plugins.php/template-begin");
safe_symlink("/etc/e-smith/templates-default/template-end-php", "root/etc/e-smith/templates/etc/ajaxplorer/bootstrap_plugins.php/template-end");
safe_touch("root/etc/e-smith/templates/var/cache/ajaxplorer/first_run_passed/template-begin");
safe_touch("root/etc/e-smith/templates/var/cache/ajaxplorer/admin_counted/template-begin");

View File

@ -1 +0,0 @@
defined('AJXP_EXEC') or die( 'Access not allowed');

View File

@ -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";
\}
\}