| +-----------------------------------------------------------------------+ $Id: clisetup.php 4678 2011-04-20 13:58:21Z alec $ */ if (php_sapi_name() != 'cli') { die('Not on the "shell" (php-cli).'); } require_once INSTALL_PATH . 'program/include/iniset.php'; /** * Parse commandline arguments into a hash array */ function get_opt($aliases=array()) { $args = array(); for ($i=1; $i