File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 7373//** Get distribution identifier
7474$ dist = get_distname ();
7575
76+ include_once ("/usr/local/ispconfig/server/lib/config.inc.php " );
77+ $ conf_old = $ conf ;
78+ unset($ conf );
79+
7680if ($ dist ['id ' ] == '' ) die ('Linux Dustribution or Version not recognized. ' );
7781
7882//** Include the distribution specific installer class library and configuration
7983if (is_file ('dist/lib/ ' .$ dist ['baseid ' ].'.lib.php ' )) include_once ('dist/lib/ ' .$ dist ['baseid ' ].'.lib.php ' );
8084include_once ('dist/lib/ ' .$ dist ['id ' ].'.lib.php ' );
8185include_once ('dist/conf/ ' .$ dist ['id ' ].'.conf.php ' );
8286
83- include_once ("/usr/local/ispconfig/server/lib/config.inc.php " );
84- $ conf_old = $ conf ;
85- unset($ conf );
86-
8787//** Get hostname
8888exec ('hostname -f ' , $ tmp_out );
8989$ conf ['hostname ' ] = $ tmp_out [0 ];
158158if ($ conf ['mysql ' ]['master_slave_setup ' ] != 'y ' ) {
159159 $ inst ->dbmaster = $ inst ->db ;
160160 $ inst ->grant_master_database_rights ();
161- echo "done rights " ;
162161}
163162
164163/*
You can’t perform that action at this time.
0 commit comments