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 " ] = "" ;
4440
4541//** Key paramaters
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 ' ;
42+ $ conf ['app_title ' ] = 'ISPConfig ' ;
43+ $ conf ['app_version ' ] = '3.0.0 ' ;
44+ $ conf ['modules_available ' ] = 'admin,mail,sites,monitor,client,dns ' ;
5145
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
46+ define ('ISPC_APP_TITLE ' , 'ISPConfig ' );
47+ define ('ISPC_APP_VERSION ' , '3.0.0 ' );
6348define ('ISPC_INTERFACE_MODULES_ENABLED ' , 'mail,sites,dns,tools ' );
6449
6550
66- /*
67- Server variables
68- */
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 ' );
6959
70- $ conf ["server_id " ] = "{server_id} " ;
7160
61+ //**Server variables
62+ $ conf ["server_id " ] = "{server_id} " ;
7263
73- /*
74- Database Settings
75- */
7664
65+ //** Database Settings
7766$ conf ["db_type " ] = 'mysql ' ;
7867$ conf ["db_host " ] = 'localhost ' ;
7968$ conf ["db_database " ] = 'dbispconfig ' ;
8069$ conf ["db_user " ] = 'ispconfig ' ;
8170$ conf ["db_password " ] = 'e8605b27a4360d135f62129627d8d9ad ' ;
8271
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 " ]);
8377
84- /*
85- Path Settings (Do not change!)
86- */
8778
79+ //** Path Settings (Do not change!)
8880$ conf ["rootpath " ] = substr (dirname (__FILE__ ),0 ,-4 );
8981$ conf ["fs_div " ] = "/ " ; // File system divider, \\ on windows and / on linux and unix
9082$ conf ["classpath " ] = $ conf ["rootpath " ].$ conf ["fs_div " ]."lib " .$ conf ["fs_div " ]."classes " ;
9183$ conf ["temppath " ] = $ conf ["rootpath " ].$ conf ["fs_div " ]."temp " ;
9284
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 " );
9389
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- */
10890
91+ //** Logging
10992$ conf ["log_file " ] = '/var/log/ispconfig/ispconfig.log ' ;
11093$ conf ["log_priority " ] = 2 ; // 0 = Debug, 1 = Warning, 2 = Error
11194
112- /*
113- Allow software package installations
114- */
11595
96+ //** Allow software package installations
11697$ conf ['software_updates_enabled ' ] = false ;
11798
11899
119- /*
120- Themes
121- */
122-
100+ //** Themes
123101$ conf ["theme " ] = 'default ' ;
124102$ conf ["html_content_encoding " ] = 'text/html; charset=iso-8859-1 ' ;
125103$ conf ["logo " ] = 'themes/default/images/mydnsconfig_logo.gif ' ;
126104
127- /*
128- Default Language
129- */
130105
131- $ conf ["language " ] = 'en ' ;
106+ //** Default Language
107+ $ conf ["language " ] = 'en ' ;
132108
133- /*
134- Misc.
135- */
136109
137- $ conf ["interface_logout_url " ] = "" ; // example: http://www.domain.tld/
110+ //** Misc.
111+ $ conf ["interface_logout_url " ] = "" ; // example: http://www.domain.tld/
138112
139113
140- /*
141- Auto Load Modules
142- */
143-
114+ //** Auto Load Modules
144115$ conf ["start_db " ] = true ;
145116$ conf ["start_session " ] = true ;
146117
147- /*
148- Constants
149- */
150-
151- define ("LOGLEVEL_DEBUG " ,0 );
152- define ("LOGLEVEL_WARN " ,1 );
153- define ("LOGLEVEL_ERROR " ,2 );
154-
155- ?>
118+ //** Constants
119+ define ("LOGLEVEL_DEBUG " , 0 );
120+ define ("LOGLEVEL_WARN " , 1 );
121+ define ("LOGLEVEL_ERROR " , 2 );
122+ ?>
0 commit comments