install/includes/cli-core.php
changeset 1020 0867b9d38c38
parent 924 142a29b583f9
child 1021 5990ac411f34
equal deleted inserted replaced
1019:ea039091d154 1020:0867b9d38c38
   138   -w, --admin-pass  Administrator password
   138   -w, --admin-pass  Administrator password
   139   -e, --admin-email Administrator e-mail address
   139   -e, --admin-email Administrator e-mail address
   140   -n, --site-name   Name of site
   140   -n, --site-name   Name of site
   141   -s, --site-desc   *SHORT* Description of site
   141   -s, --site-desc   *SHORT* Description of site
   142   -c, --copyright   Copyright notice shown on pages
   142   -c, --copyright   Copyright notice shown on pages
   143   -r, --url-scheme  URL scheme (standard, short, or rewrite)
   143   -r, --url-scheme  URL scheme (standard, short, rewrite, or tiny)
   144   -l, --language    Language to be used on site and in installer
   144   -l, --language    Language to be used on site and in installer
   145   -i, --scriptpath  Where Enano is relative to your website root (no trailing
   145   -i, --scriptpath  Where Enano is relative to your website root (no trailing
   146                     slash)
   146                     slash)
   147 
   147 
   148 
   148 
   294           $$var = cli_prompt("{$terms[$var]} " . $lang->get('cli_msg_echo_warning'), $defaults[$var]);
   294           $$var = cli_prompt("{$terms[$var]} " . $lang->get('cli_msg_echo_warning'), $defaults[$var]);
   295         }
   295         }
   296         break;
   296         break;
   297       case 'urlscheme':
   297       case 'urlscheme':
   298         $temp = '';
   298         $temp = '';
   299         while ( !in_array($temp, array('standard', 'short', 'rewrite')) )
   299         while ( !in_array($temp, array('standard', 'short', 'rewrite', 'tiny')) )
   300         {
   300         {
   301           $temp = cli_prompt($terms[$var], $defaults[$var]);
   301           $temp = cli_prompt($terms[$var], $defaults[$var]);
   302         }
   302         }
   303         $$var = $temp;
   303         $$var = $temp;
   304         break;
   304         break;