/**
  * Constructor
  *
  * @access	public
  * @return	void
  */
 public function __construct()
 {
     if (!self::$base_cmd) {
         self::$base_cmd = ipsRegistry::$current_module == 'ajax' ? new ReflectionClass('ipsAjaxCommand') : new ReflectionClass('ipsCommand');
         self::$default_cmd = new ipsCommand_default();
         self::$modules_dir = IPS_AREA != 'admin' ? 'modules_public' : 'modules_admin';
         self::$class_dir = IPS_AREA != 'admin' ? 'public' : 'admin';
     }
 }
 /**
  * Constructor
  *
  * @access	public
  * @return	@e void
  */
 public function __construct()
 {
     if (!self::$base_cmd) {
         self::$base_cmd = new ReflectionClass('ipsCommand');
         self::$default_cmd = new ipsCommand_default();
     }
 }