Alternc
3.2
Alternc logiel libre pour l'hébergement
|
Go to the source code of this file.
Data Structures | |
class | DB_system |
Class for MySQL management in the bureau. More... |
Variables | |
const | DO_XHPROF_STATS = FALSE |
if(isset($http_auth)&&$http_auth) if(!empty($_SERVER['PHP_AUTH_USER'])&&!empty($_SERVER['PHP_AUTH_PW'])) | $help_baseurl = "http://www.aide-alternc.org/" |
$host = getenv("HTTP_HOST") | |
const | ALTERNC_MAIL = "$L_ALTERNC_MAIL" |
const | ALTERNC_HTML = "$L_ALTERNC_HTML" |
if(isset($L_ALTERNC_LOGS_ARCHIVE)) define('ALTERNC_LOGS_ARCHIVE' | $L_ALTERNC_LOGS_ARCHIVE |
const | ALTERNC_LOGS = "$L_ALTERNC_LOGS" |
const | ALTERNC_PANEL = "/usr/share/alternc/panel" |
const | ALTERNC_LOCALES = ALTERNC_PANEL."/locales" |
const | ALTERNC_LOCK_JOBS = '/var/run/alternc/jobs-lock' |
const | ALTERNC_LOCK_PANEL = '/var/lib/alternc/panel/nologin.lock' |
const | ALTERNC_APACHE2_GEN_TMPL_DIR = '/etc/alternc/templates/apache2/' |
const | ALTERNC_VHOST_DIR = "/var/lib/alternc/apache-vhost/" |
const | ALTERNC_VHOST_FILE = ALTERNC_VHOST_DIR."vhosts_all.conf" |
const | ALTERNC_VHOST_MANUALCONF = ALTERNC_VHOST_DIR."manual/" |
$root = "/" | |
$db = new DB_system() | |
$cuid = 0 | |
$classes = array() | |
foreach(glob($root."class/m_*.php") as $di | foreach )(glob($root."class/class_system_*.php") as $fcs) |
$variables = new m_variables() | |
$mem = new m_mem() | |
$err = new m_err() | |
$authip = new m_authip() | |
$hooks = new m_hooks() | |
if(!defined('NOCHECK')) for($i=0;$i < count($classes);$i++) | $oldid = intval(isset($_COOKIE['oldid'])?$_COOKIE['oldid']:'') |
$isinvited = false |
$authip = new m_authip() |
Definition at line 186 of file config.php.
Referenced by m_mem\checkid(), and m_mem\login().
$classes = array() |
Definition at line 159 of file config.php.
Referenced by m_dom\add_domain(), m_admin\add_mem(), m_dom\del_domain(), m_dom\del_domain_cancel(), m_admin\del_mem(), m_mem\del_session(), m_dom\edit_domain(), m_hooks\invoke(), m_admin\listPasswordPolicies(), and m_quota\qlist().
$cuid = 0 |
Definition at line 156 of file config.php.
$db = new DB_system() |
Definition at line 153 of file config.php.
Referenced by m_aws\_createconf(), m_aws\_createhtpasswd(), m_quota\_get_count_sql(), m_quota\_get_size_and_record_sql(), m_quota\_get_sum_sql(), m_cron\_update_one(), m_mysql\add_db(), m_dom\add_domain(), m_ftp\add_ftp(), m_aws\add_login(), m_admin\add_mem(), m_admin\add_shared_domain(), m_mail\add_slave_account(), m_dom\add_slave_account(), m_dom\add_slave_ip(), m_aws\add_stats(), m_mysql\add_user(), m_mail\add_wrapper(), m_quota\addquotas(), m_admin\addtld(), m_quota\addtype(), m_mem\adminpref(), m_aws\allow_login(), m_mysql\alternc_add_member(), m_ftp\alternc_del_domain(), m_aws\alternc_del_domain(), m_authip\alternc_del_member(), m_ftp\alternc_del_member(), m_aws\alternc_del_member(), m_mysql\alternc_del_member(), m_aws\alternc_export(), m_ftp\alternc_export_conf(), m_quota\alternc_export_conf(), m_mem\alternc_export_conf(), m_mail\alternc_export_conf(), m_bro\alternc_export_conf(), m_mysql\alternc_export_conf(), m_dom\alternc_export_conf(), m_mysql\alternc_export_data(), m_action\archive(), m_mem\authip_token(), m_mail\available(), m_action\begin(), m_dom\can_create_subdomain(), m_action\cancel(), m_mail\catchall_getinfos(), m_aws\change_pass(), m_mysql\change_user_password(), m_mem\ChangeMail1(), m_mem\ChangeMail2(), m_mail\check_slave_account(), m_dom\check_slave_account(), m_dom\check_type_value(), m_admin\checkalldom(), m_admin\checkcreator(), checkhostallow(), checkhostallow_nodns(), m_mem\checkid(), m_admin\checkPolicy(), system_bind\conf_from_db(), m_dom\count_domains_all(), m_mail\create(), m_mail\create_alias(), m_dom\create_default_subdomains(), m_quota\create_missing_quota_profile(), m_bro\CreateDir(), m_bro\CreateFile(), m_upnp\cron(), DB_users\DB_users(), m_variables\del(), m_mysql\del_db(), m_dom\del_default_type(), m_dom\del_domain(), m_dom\del_domain_cancel(), m_aws\del_login(), m_admin\del_mem(), m_mem\del_session(), m_mail\del_slave_account(), m_dom\del_slave_account(), m_dom\del_slave_ip(), m_dom\del_sub_domain(), m_mysql\del_user(), m_mail\del_wrapper(), m_mail\delete(), m_aws\delete_allowed_login(), m_ftp\delete_ftp(), m_cron\delete_one(), m_aws\delete_stats(), m_quota\delquotas(), m_admin\deltld(), m_quota\deltype(), m_aws\deny_login(), m_mail\disable(), m_upnp\disable_port(), m_admin\dom_list(), m_admin\dom_lock(), m_dom\domains_type_del(), m_dom\domains_type_enable_values(), m_dom\domains_type_get(), m_dom\domains_type_lst(), m_dom\domains_type_regenerate(), m_dom\domains_type_target_values(), m_dom\domains_type_update(), m_mail\echo_domain_list(), m_dom\echo_domain_list(), m_dom\edit_domain(), m_admin\editPolicy(), m_admin\edittld(), m_mail\enable(), m_upnp\enable_port(), m_mail\enum_domain_mails(), m_mail\enum_domains(), m_dom\enum_domains(), m_mailman\enum_ml(), m_mail\enum_slave_account(), m_dom\enum_slave_account(), m_dom\enum_slave_ip(), m_bro\filelist(), m_action\finish(), FixQuotaDovecot(), m_dom\generation_parameters(), m_dom\generation_todo(), m_mail\get_account_by_mail_id(), m_action\get_action(), m_authip\get_allowed(), m_piwik\get_alternc_sites(), m_piwik\get_alternc_users(), m_admin\get_creator(), m_mem\get_creator_by_uid(), m_admin\get_creator_list(), m_mysql\get_db_size(), m_mysql\get_dblist(), m_mysql\get_dbus_size(), m_mysql\get_defaultsparam(), m_mail\get_details(), m_dom\get_domain_all(), m_dom\get_domain_all_summary(), m_dom\get_domain_byid(), m_dom\get_domain_byname(), m_dom\get_domain_list(), m_upnp\get_forward_list(), m_ftp\get_ftp_details(), m_aws\get_hostaliases(), m_variables\get_impersonated(), m_action\get_job(), m_aws\get_list(), m_ftp\get_list(), m_admin\get_list(), m_mysql\get_mysql_details(), m_action\get_old(), m_dom\get_panel_url_list(), m_aws\get_stats_details(), m_dom\get_sub_domain_all(), m_dom\get_sub_domain_id_and_member_by_name(), m_mail\get_total_size_for_domain(), m_mysql\get_user_dblist(), m_mysql\get_userslist(), m_aws\get_view_public(), m_admin\getadmin(), m_quota\getdefaults(), m_bro\GetPrefs(), m_quota\getquota(), m_admin\gettld(), m_lxc\getvm(), m_mysql\grant(), m_admin\hook_admin_add_member(), m_lxc\hook_admin_del_member(), m_squirrelmail\hook_admin_webmail(), m_roundcube\hook_admin_webmail(), m_mail\hook_dom_add_mx_domain(), m_piwik\hook_quota_get(), m_cron\hook_quota_get(), m_mail\hook_quota_get(), m_ftp\hook_quota_get(), m_aws\hook_quota_get(), m_mysql\hook_quota_get(), m_dom\hook_quota_get(), m_aws\host_list(), m_authip\ip_affected_delete(), m_authip\ip_affected_save(), m_authip\ip_delete(), m_authip\ip_save(), m_ftp\is_ftp(), m_mail\is_it_my_mail(), m_authip\is_wl(), m_authip\list_affected(), m_aws\list_allowed_login(), m_mysql\list_db_servers(), m_authip\list_ip(), m_aws\list_login(), m_admin\listPasswordPolicies(), m_admin\listtld(), m_quota\listtype(), m_dom\lock(), m_admin\lock_mem(), m_mem\login(), m_aws\login_exists(), m_cron\lst_cron(), m_dom\lst_default_subdomains(), m_admin\m_admin(), m_admin\mailallmembers(), m_admin\normal2su(), m_admin\onesu(), m_mem\passwd(), m_mysql\php_myadmin_connect(), m_ftp\prefix_list(), m_aws\prefix_list(), m_action\purge(), m_ftp\put_ftp_details(), m_mysql\put_mysql_backup(), m_mysql\put_mysql_details(), m_aws\put_stats_details(), m_admin\renew_get_expiring_accounts(), m_admin\renew_mem(), m_admin\renew_update(), m_action\reset_job(), m_mem\resetlast(), m_mysql\restore(), system_bind\save_zone(), m_mem\send_pass(), m_action\set(), m_mail\set_details(), m_dom\set_dns_action(), m_dom\set_dns_result(), m_mem\set_help_param(), m_mail\set_passwd(), m_dom\set_sub_domain(), m_mysql\set_user_rights(), m_quota\setdefaults(), m_mem\setid(), m_bro\SetPrefs(), m_quota\setquota(), m_piwik\site_delete(), m_lxc\start(), m_lxc\stop(), m_mem\su(), m_admin\su2normal(), m_dom\sub_domain_change_status(), m_dom\subdomain_modif_are_done(), m_ftp\switch_enabled(), m_quota\synchronise_user_profile(), m_mysql\test_get_param(), m_mail\undelete(), m_dom\unlock(), m_admin\unlock_mem(), m_admin\update_mem(), m_dom\update_one_default(), m_piwik\user_add(), m_piwik\user_delete(), m_piwik\users_list(), m_variables\variable_update_or_create(), m_variables\variables_list(), m_variables\variables_list_name(), m_bro\viewurl(), and m_dom\whois().
$err = new m_err() |
Definition at line 185 of file config.php.
Referenced by m_aws\_check(), m_aws\_createconf(), m_aws\_createhtpasswd(), m_aws\_delconf(), m_quota\_get_count_sql(), m_quota\_get_size_and_record_sql(), m_quota\_get_sum_sql(), m_hta\_reading_htaccess(), m_cron\_update_one(), m_mysql\add_db(), m_dom\add_domain(), m_ftp\add_ftp(), m_aws\add_login(), m_admin\add_mem(), m_admin\add_shared_domain(), m_mail\add_slave_account(), m_dom\add_slave_account(), m_dom\add_slave_ip(), m_aws\add_stats(), m_hta\add_user(), m_mysql\add_user(), m_mail\add_wrapper(), m_quota\addquotas(), m_admin\addtld(), m_quota\addtype(), m_mem\adminpref(), m_aws\allow_login(), m_mysql\alternc_add_member(), m_ftp\alternc_del_domain(), m_aws\alternc_del_domain(), m_ftp\alternc_del_member(), m_aws\alternc_del_member(), m_mysql\alternc_del_member(), m_aws\alternc_export(), m_ftp\alternc_export_conf(), m_quota\alternc_export_conf(), m_mem\alternc_export_conf(), m_mail\alternc_export_conf(), m_bro\alternc_export_conf(), m_mysql\alternc_export_conf(), m_dom\alternc_export_conf(), m_bro\alternc_export_data(), m_mysql\alternc_export_data(), m_action\archive(), m_mail\available(), m_action\begin(), m_authip\call_hooks(), m_piwik\call_page(), m_dom\can_create_subdomain(), m_bro\can_edit(), m_mail\catchall_set(), m_hta\change_pass(), m_aws\change_pass(), m_mysql\change_user_password(), m_mem\ChangeMail1(), m_mem\ChangeMail2(), m_bro\ChangePermissions(), m_aws\check_host_available(), m_ftp\check_login(), m_mail\check_slave_account(), m_dom\check_slave_account(), m_dom\check_type_value(), m_admin\checkcreator(), m_mem\checkid(), m_admin\checkPolicy(), m_bro\content(), m_bro\content_send(), m_bro\CopyFile(), m_bro\CopyOneFile(), m_dom\count_domains_all(), m_mail\create(), m_mail\create_alias(), m_dom\create_default_subdomains(), m_quota\create_missing_quota_profile(), m_hta\CreateDir(), m_bro\CreateDir(), m_bro\CreateFile(), DB_users\DB_users(), m_mysql\del_db(), m_dom\del_default_type(), m_dom\del_domain(), m_dom\del_domain_cancel(), m_aws\del_login(), m_admin\del_mem(), m_mem\del_session(), m_mail\del_slave_account(), m_dom\del_slave_account(), m_dom\del_slave_ip(), m_dom\del_sub_domain(), m_hta\del_user(), m_mysql\del_user(), m_mail\del_wrapper(), m_hta\DelDir(), m_mail\delete(), m_aws\delete_allowed_login(), m_ftp\delete_ftp(), m_cron\delete_one(), m_aws\delete_stats(), m_bro\DeleteFile(), m_quota\delquotas(), m_admin\deltld(), m_aws\deny_login(), m_mail\disable(), m_upnp\disable_port(), m_action\do_action(), m_admin\dom_lock(), m_dom\domains_type_del(), m_dom\domains_type_enable_values(), m_dom\domains_type_get(), m_dom\domains_type_lst(), m_dom\domains_type_regenerate(), m_dom\domains_type_target_values(), m_dom\domains_type_update(), m_log\download_link(), m_bro\download_link(), m_mail\echo_domain_list(), m_dom\echo_domain_list(), m_dom\edit_domain(), m_admin\edittld(), m_mail\enable(), m_upnp\enable_port(), m_mail\enum_domain_mails(), m_mail\enum_domains(), m_dom\enum_domains(), m_mailman\enum_ml(), m_mail\enum_slave_account(), m_dom\enum_slave_account(), m_dom\enum_slave_ip(), m_bro\ExtractFile(), m_bro\filelist(), m_action\finish(), m_dom\generation_parameters(), m_dom\generation_todo(), m_mail\get_account_by_mail_id(), m_action\get_action(), m_admin\get_creator(), m_mem\get_creator_by_uid(), m_admin\get_creator_list(), m_mysql\get_db_size(), m_mysql\get_dblist(), m_mysql\get_dbus_size(), m_mysql\get_defaultsparam(), m_mail\get_details(), m_dom\get_domain_all(), m_dom\get_domain_all_summary(), m_dom\get_domain_byid(), m_dom\get_domain_byname(), m_dom\get_domain_list(), m_upnp\get_forward_list(), m_ftp\get_ftp_details(), m_aws\get_hostaliases(), m_hta\get_hta_detail(), m_variables\get_impersonated(), m_action\get_job(), m_aws\get_list(), m_ftp\get_list(), m_admin\get_list(), m_log\get_logs_directory(), m_mysql\get_mysql_details(), m_action\get_old(), m_dom\get_panel_url_list(), m_aws\get_stats_details(), m_dom\get_sub_domain_all(), m_dom\get_sub_domain_id_and_member_by_name(), m_mysql\get_user_dblist(), m_piwik\get_users_access_from_site(), m_mysql\get_userslist(), m_aws\get_view_public(), m_quota\getquota(), m_admin\gettld(), m_mysql\grant(), m_quota\hook_admin_add_member(), m_admin\hook_admin_add_member(), m_lxc\hook_admin_del_member(), m_dom\hook_admin_del_member(), m_mail\hook_dom_add_mx_domain(), m_dom\hook_dom_add_mx_domain(), m_mail\hook_dom_add_slave_domain(), m_mysql\hook_lxc_params(), m_cron\hook_quota_get(), m_mail\hook_quota_get(), m_ftp\hook_quota_get(), m_aws\hook_quota_get(), m_mysql\hook_quota_get(), m_dom\hook_quota_get(), m_aws\host_list(), m_dom\import_manual_dns_entry(), m_dom\import_manual_dns_entry_doit(), m_dom\import_manual_dns_prep_zone(), m_dom\import_manual_dns_zone(), m_ftp\is_ftp(), m_mail\is_it_my_mail(), m_hta\is_protected(), m_aws\list_allowed_login(), m_aws\list_login(), m_log\list_logs_directory(), m_log\list_logs_directory_all(), m_hta\ListDir(), m_dom\lock(), m_admin\lock_mem(), m_mem\login(), m_aws\login_exists(), m_cron\lst_cron(), m_dom\lst_default_subdomains(), m_admin\mailallmembers(), m_bro\MoveFile(), m_admin\normal2su(), panel_lock(), panel_unlock(), m_mem\passwd(), m_mysql\php_myadmin_connect(), m_action\purge(), m_ftp\put_ftp_details(), m_mysql\put_mysql_backup(), m_mysql\put_mysql_details(), m_aws\put_stats_details(), m_bro\RenameFile(), m_admin\renew_mem(), m_admin\renew_update(), m_action\reset_job(), m_mysql\restore(), m_bro\save(), m_mem\send_pass(), m_action\set(), m_mail\set_details(), m_mem\set_help_param(), m_mail\set_passwd(), m_dom\set_sub_domain(), m_dom\set_ttl(), m_mysql\set_user_rights(), m_mem\setid(), m_quota\setquota(), m_mem\show_help(), m_piwik\site_delete(), m_piwik\site_set_user_right(), m_lxc\start(), m_mem\su(), m_admin\su2normal(), m_dom\sub_domain_change_status(), sub_domains_edit(), m_ftp\switch_enabled(), m_quota\synchronise_user_profile(), m_mysql\test_get_param(), m_mail\undelete(), m_dom\unlock(), m_admin\unlock_mem(), m_dom\update_default_subdomains(), m_admin\update_mem(), m_dom\update_one_default(), m_bro\UploadFile(), m_piwik\user_add(), m_piwik\user_delete(), m_variables\variable_update_or_create(), and m_dom\whois().
if (isset($http_auth)&&$http_auth) if (!empty($_SERVER['PHP_AUTH_USER'])&&!empty($_SERVER['PHP_AUTH_PW'])) $help_baseurl = "http://www.aide-alternc.org/" |
Definition at line 93 of file config.php.
Referenced by m_menu\system_menu().
$hooks = new m_hooks() |
Definition at line 187 of file config.php.
Referenced by m_dom\add_domain(), m_admin\add_mem(), m_authip\call_hooks(), m_mail\create(), m_upnp\cron(), m_dom\del_domain(), m_admin\del_mem(), m_mem\del_session(), m_mail\delete(), m_dom\edit_domain(), m_mail\enum_domain_mails(), m_authip\get_auth_class(), m_mail\get_details(), m_menu\getmenu(), m_quota\getquota(), m_admin\listPasswordPolicies(), m_quota\qlist(), system_bind\regenerate_conf(), system_bind\reload_named(), m_lxc\sendMessage(), m_mail\set_details(), and m_mail\undelete().
$host = getenv("HTTP_HOST") |
Definition at line 96 of file config.php.
Referenced by m_aws\alternc_export(), m_squirrelmail\hook_admin_webmail(), m_roundcube\hook_admin_webmail(), and m_variables\variable_init().
$isinvited = false |
Definition at line 206 of file config.php.
Definition at line 105 of file config.php.
$mem = new m_mem() |
Definition at line 184 of file config.php.
Referenced by m_aws\_check(), m_mysql\add_db(), m_ftp\add_ftp(), m_admin\add_mem(), m_admin\add_shared_domain(), m_aws\add_stats(), m_mysql\add_user(), m_mysql\alternc_add_member(), m_bro\alternc_export_data(), m_mysql\alternc_export_data(), m_bro\can_edit(), m_mysql\change_user_password(), m_admin\checkcreator(), checkuserpath(), m_bro\convertabsolute(), m_hta\CreateDir(), m_mysql\del_db(), m_admin\del_mem(), m_mysql\del_user(), m_hta\DelDir(), m_bro\DeleteFile(), m_log\download_link(), m_bro\DownloadTBZ(), m_bro\DownloadTGZ(), m_bro\DownloadZ(), m_bro\DownloadZIP(), m_bro\ExtractFile(), m_admin\get_creator_list(), m_hta\get_hta_detail(), m_admin\get_list(), m_log\get_logs_directory(), m_mysql\get_mysql_details(), m_mysql\get_user_dblist(), m_menu\getmenu(), m_quota\getquota(), getuserpath(), m_lxc\getvm(), m_mail\hook_dom_add_mx_domain(), m_admin\hook_menu(), m_authip\ip_save(), m_authip\ip_save_whitelist(), m_ftp\is_ftp(), m_hta\is_protected(), m_authip\list_ip(), m_authip\list_ip_whitelist(), m_hta\ListDir(), m_err\log(), m_err\logerr(), m_admin\mailallmembers(), panel_lock(), panel_unlock(), m_ftp\prefix_list(), m_aws\prefix_list(), m_ftp\put_ftp_details(), m_mysql\put_mysql_backup(), m_mysql\put_mysql_details(), m_mysql\restore(), m_mysql\set_user_rights(), m_lxc\start(), m_lxc\stop(), and m_piwik\user_add().
if (!defined('NOCHECK')) for ($i=0;$i< count($classes);$i++) $oldid = intval(isset($_COOKIE['oldid'])?$_COOKIE['oldid']:'') |
Definition at line 205 of file config.php.
Referenced by sub_domains_edit().
$root = "/" |
Definition at line 119 of file config.php.
$variables = new m_variables() |
Definition at line 183 of file config.php.
Referenced by m_variables\get_impersonated(), m_variablesTest\testDisplay_value_html(), m_variablesTest\testGet_impersonated(), m_variablesTest\testVariables_list(), m_variablesTest\testVariables_list_name(), and variable_get().
const ALTERNC_APACHE2_GEN_TMPL_DIR = '/etc/alternc/templates/apache2/' |
Definition at line 112 of file config.php.
Referenced by m_dom\generation_domains_type().
const ALTERNC_HTML = "$L_ALTERNC_HTML" |
Definition at line 104 of file config.php.
Referenced by checkuserpath(), m_hta\get_hta_detail(), getuserpath(), m_hta\is_protected(), and m_hta\ListDir().
const ALTERNC_LOCALES = ALTERNC_PANEL."/locales" |
Definition at line 109 of file config.php.
const ALTERNC_LOCK_JOBS = '/var/run/alternc/jobs-lock' |
Definition at line 110 of file config.php.
const ALTERNC_LOCK_PANEL = '/var/lib/alternc/panel/nologin.lock' |
Definition at line 111 of file config.php.
Referenced by panel_islocked(), panel_lock(), and panel_unlock().
const ALTERNC_LOGS = "$L_ALTERNC_LOGS" |
Definition at line 107 of file config.php.
Referenced by m_log\get_logs_directory().
const ALTERNC_MAIL = "$L_ALTERNC_MAIL" |
Definition at line 103 of file config.php.
Referenced by readrules(), and m_mail\set_details().
const ALTERNC_PANEL = "/usr/share/alternc/panel" |
Definition at line 108 of file config.php.
const ALTERNC_VHOST_DIR = "/var/lib/alternc/apache-vhost/" |
Definition at line 113 of file config.php.
const ALTERNC_VHOST_FILE = ALTERNC_VHOST_DIR."vhosts_all.conf" |
Definition at line 114 of file config.php.
const ALTERNC_VHOST_MANUALCONF = ALTERNC_VHOST_DIR."manual/" |
Definition at line 115 of file config.php.
const DO_XHPROF_STATS = FALSE |
Definition at line 31 of file config.php.
foreach (glob($root."class/m_*.php") as $di foreach)(glob($root."class/class_system_*.php") as $fcs) |
Definition at line 176 of file config.php.