3737 ini_set ('register_globals ' ,0 );
3838}
3939
40+ $ conf ["app_title " ] = "ISPConfig " ;
41+ $ conf ["app_version " ] = "3.0.0 " ;
42+ $ conf ["modules_available " ] = "admin,mail,sites,monitor,client,dns " ;
43+ $ conf ["interface_logout_url " ] = "" ;
4044
4145//** Key paramaters
42- $ conf ['app_title ' ] = 'ISPConfig ' ;
43- $ conf ['app_version ' ] = '3.0.0.8 ' ;
44- $ conf ['modules_available ' ] = 'admin,mail,sites,monitor,client,dns ' ;
46+ define ('ISPC_APP_TITLE ' , 'ISPConfig ' );
47+ $ conf ['app_title ' ] = 'ISPConfig ' ;
48+ define ('ISPC_APP_VERSION ' , '3.0.0 ' );
49+ $ conf ['app_version ' ] = '3.0.0 ' ;
50+ $ conf ['modules_available ' ] = 'admin,mail,sites,monitor,client,dns,help ' ;
4551
46- define ('ISPC_APP_TITLE ' , 'ISPConfig ' );
47- define ('ISPC_APP_VERSION ' , '3.0.0.8 ' );
52+ //** The main ROOT is the parent directory to this file, ie Interface/. NO trailing slashes.
53+ define ('ISPC_ROOT_PATH ' , realpath (dirname (__FILE__ ).'/../ ' ));
54+ define ('ISPC_LIB_PATH ' , ISPC_ROOT_PATH .'/lib ' );
55+ define ('ISPC_CLASS_PATH ' , ISPC_ROOT_PATH .'/lib/classes ' );
56+ define ('ISPC_WEB_PATH ' , ISPC_ROOT_PATH .'/web ' );
57+ define ('ISPC_THEMES_PATH ' , ISPC_ROOT_PATH .'/web/themes ' );
58+
59+ define ('ISPC_WEB_TEMP_PATH ' , ISPC_WEB_PATH .'/temp ' ); // Path for downloads, accessible via browser
60+ define ('ISPC_CACHE_PATH ' , ISPC_ROOT_PATH .'/cache ' );
61+
62+ //** Interface settings
4863define ('ISPC_INTERFACE_MODULES_ENABLED ' , 'mail,sites,dns,tools ' );
4964
5065
51- //** The main ROOT is the parent directory to this file, ie Interface/. NO trailing slashes.
52- define ('ISPC_ROOT_PATH ' , realpath (dirname (__FILE__ ).'/../ ' ));
53- define ('ISPC_LIB_PATH ' , ISPC_ROOT_PATH .'/lib ' );
54- define ('ISPC_CLASS_PATH ' , ISPC_ROOT_PATH .'/lib/classes ' );
55- define ('ISPC_WEB_PATH ' , ISPC_ROOT_PATH .'/web ' );
56- define ('ISPC_THEMES_PATH ' , ISPC_ROOT_PATH .'/web/themes ' );
57- define ('ISPC_WEB_TEMP_PATH ' , ISPC_WEB_PATH .'/temp ' ); // Path for downloads, accessible via browser
58- define ('ISPC_CACHE_PATH ' , ISPC_ROOT_PATH .'/cache ' );
66+ /*
67+ Server variables
68+ */
5969
70+ $ conf ["server_id " ] = "{server_id} " ;
6071
61- //**Server variables
62- $ conf ["server_id " ] = "{server_id} " ;
6372
73+ /*
74+ Database Settings
75+ */
6476
65- //** Database Settings
6677$ conf ["db_type " ] = 'mysql ' ;
6778$ conf ["db_host " ] = 'localhost ' ;
6879$ conf ["db_database " ] = 'dbispconfig ' ;
6980$ conf ["db_user " ] = 'ispconfig ' ;
70- $ conf ["db_password " ] = 'e8605b27a4360d135f62129627d8d9ad ' ;
81+ $ conf ["db_password " ] = '56409c08def09f8ee9c42416f4bcfc51 ' ;
7182
72- define ("DB_TYPE " , $ conf ["db_type " ]);
73- define ("DB_HOST " , $ conf ["db_host " ]);
74- define ("DB_DATABASE " , $ conf ["db_database " ]);
75- define ("DB_USER " , $ conf ["db_user " ]);
76- define ("DB_PASSWORD " , $ conf ["db_password " ]);
7783
84+ /*
85+ Path Settings (Do not change!)
86+ */
7887
79- //** Path Settings (Do not change!)
8088$ conf ["rootpath " ] = substr (dirname (__FILE__ ),0 ,-4 );
8189$ conf ["fs_div " ] = "/ " ; // File system divider, \\ on windows and / on linux and unix
8290$ conf ["classpath " ] = $ conf ["rootpath " ].$ conf ["fs_div " ]."lib " .$ conf ["fs_div " ]."classes " ;
8391$ conf ["temppath " ] = $ conf ["rootpath " ].$ conf ["fs_div " ]."temp " ;
8492
85- define ("DIR_TRENNER " , $ conf ["fs_div " ]);
86- define ("SERVER_ROOT " , $ conf ["rootpath " ]);
87- define ("INCLUDE_ROOT " , SERVER_ROOT .DIR_TRENNER ."lib " );
88- define ("CLASSES_ROOT " , INCLUDE_ROOT .DIR_TRENNER ."classes " );
8993
94+ define ("DIR_TRENNER " ,$ conf ["fs_div " ]);
95+ define ("SERVER_ROOT " ,$ conf ["rootpath " ]);
96+ define ("INCLUDE_ROOT " ,SERVER_ROOT .DIR_TRENNER ."lib " );
97+ define ("CLASSES_ROOT " ,INCLUDE_ROOT .DIR_TRENNER ."classes " );
98+
99+ define ("DB_TYPE " ,$ conf ["db_type " ]);
100+ define ("DB_HOST " ,$ conf ["db_host " ]);
101+ define ("DB_DATABASE " ,$ conf ["db_database " ]);
102+ define ("DB_USER " ,$ conf ["db_user " ]);
103+ define ("DB_PASSWORD " ,$ conf ["db_password " ]);
104+
105+ /*
106+ Logging
107+ */
90108
91- //** Logging
92109$ conf ["log_file " ] = '/var/log/ispconfig/ispconfig.log ' ;
93110$ conf ["log_priority " ] = 2 ; // 0 = Debug, 1 = Warning, 2 = Error
94111
112+ /*
113+ Allow software package installations
114+ */
95115
96- //** Allow software package installations
97116$ conf ['software_updates_enabled ' ] = false ;
98117
99118
100- //** Themes
119+ /*
120+ Themes
121+ */
122+
101123$ conf ["theme " ] = 'default ' ;
102124$ conf ["html_content_encoding " ] = 'text/html; charset=iso-8859-1 ' ;
103125$ conf ["logo " ] = 'themes/default/images/mydnsconfig_logo.gif ' ;
104126
127+ /*
128+ Default Language
129+ */
105130
106- //** Default Language
107- $ conf ["language " ] = 'en ' ;
131+ $ conf ["language " ] = 'en ' ;
108132
133+ /*
134+ Misc.
135+ */
109136
110- //** Misc.
111- $ conf ["interface_logout_url " ] = "" ; // example: http://www.domain.tld/
137+ $ conf ["interface_logout_url " ] = "" ; // example: http://www.domain.tld/
112138
113139
114- //** Auto Load Modules
140+ /*
141+ Auto Load Modules
142+ */
143+
115144$ conf ["start_db " ] = true ;
116145$ conf ["start_session " ] = true ;
117146
118- //** Constants
119- define ("LOGLEVEL_DEBUG " , 0 );
120- define ("LOGLEVEL_WARN " , 1 );
121- define ("LOGLEVEL_ERROR " , 2 );
122- ?>
147+ /*
148+ Constants
149+ */
150+
151+ define ("LOGLEVEL_DEBUG " ,0 );
152+ define ("LOGLEVEL_WARN " ,1 );
153+ define ("LOGLEVEL_ERROR " ,2 );
154+
155+ ?>
0 commit comments