Details
Description
PEAR library is used to fetch the command line arguments. Then the PEAR result if further processed using our own functions. Final output is an array containing valid options and valid arguments
PEAR library is used to fetch the command line arguments. Then the PEAR result if further processed using our own functions. Final output is an array containing valid options and valid arguments
At the moment I have done the part of fetching the arguments using PEAR Console library and formatting them to appropriate format. PEAR errors are in English only. So we will not print errors returned by PEAR. instead we will use our own error messages which will be in lang/install.php.
Custom functions are at the moment kept in the same script file. But moving them to library file has to be done. At the moment it will be a file like libinstall.php in lib directory.