File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 4343| | ___| | | | | |___ | |_| | | | \ | | | | | | |_| |
4444|_| /_____/ |_| \_____| \_____/ |_| \_| |_| |_| \_____/ ' ;
4545
46- echo "# Setup routine started... \n" ;
46+ echo "\n # Setup routine started... \n" ;
4747
4848//** Include the library with the basic installer functions
4949require_once ('lib/install.lib.php ' );
5858include_once ('dist/lib/ ' .$ conf ['distname ' ].'.lib.php ' );
5959include_once ('dist/conf/ ' .$ conf ['distname ' ].'.conf.php ' );
6060
61+ //TODO: this is not there ????
6162$ conf ['dist ' ] = $ dist ;
6263
6364//** Lets go !
Original file line number Diff line number Diff line change 5757$ FILE = realpath ('../install.php ' );
5858
5959function get_distname () {
60+ global $ conf ; // TODO wtf ?
6061 $ distname = $ conf ['distname ' ];
6162 return $ distname ;
6263}
6364
6465function sread () {
65- $ fp = fopen ('/dev/stdin ' , 'r ' );
66- $ input= fgets ($ fp , 255 );
67- fclose ($ fp );
66+ $ f = fopen ('/dev/stdin ' , 'r ' );
67+ $ input = fgets ($ f , 255 );
68+ fclose ($ f );
6869 return rtrim ($ input );
6970}
7071
You can’t perform that action at this time.
0 commit comments