PageRenderTime 49ms CodeModel.GetById 23ms RepoModel.GetById 0ms app.codeStats 0ms

/modules/live/shell/exit.cmd.php

http://awarenet.googlecode.com/
PHP | 27 lines | 14 code | 6 blank | 7 comment | 2 complexity | bdc094c35bee7c119412f6df24909fe7 MD5 | raw file
Possible License(s): GPL-3.0
  1. <?
  2. //--------------------------------------------------------------------------------------------------
  3. //| clear the shell history
  4. //--------------------------------------------------------------------------------------------------
  5. function live_WebShell_exit($args) {
  6. $html = "Shutting down... <!-- kshellwindow.exit() -->";
  7. return $html;
  8. }
  9. //--------------------------------------------------------------------------------------------------
  10. //| manpage for the live.clear command
  11. //--------------------------------------------------------------------------------------------------
  12. //opt: short - display command summary [bool]
  13. function live_WebShell_exit_help($short = false) {
  14. if (true == $short) { return 'End shell session.'; }
  15. $html = "
  16. <b>usage: live.exit</b><br/>
  17. End the current shell session.<br/>
  18. ";
  19. return $html;
  20. }
  21. ?>