|
|
@@ -21,11 +21,19 @@ Lib::loadClass('DBG');
|
|
|
*/
|
|
|
class Route_Ant extends RouteBase {
|
|
|
|
|
|
- public $pathTools = APP_PATH_SCHEMA . "/ant-tool/";
|
|
|
- public $pathUrlActions = APP_PATH_SCHEMA . "/ant-url_action/";
|
|
|
- public $antBin = APP_PATH_WWW . DS . 'stuff' . DS . 'dita-ot-2.3.3' . DS . 'bin' . DS . 'ant';
|
|
|
- public $_antUrlProjects = [];// path => label
|
|
|
- public $_antUrlProjectTemplates = [];// path => [ template => label ]
|
|
|
+ public $pathTools;
|
|
|
+ public $pathUrlActions;
|
|
|
+ public $antBin;
|
|
|
+ public $_antUrlProjects;
|
|
|
+ public $_antUrlProjectTemplates;
|
|
|
+
|
|
|
+ public function __construct() {
|
|
|
+ $this->pathTools = APP_PATH_SCHEMA . "/ant-tool/";
|
|
|
+ $this->pathUrlActions = APP_PATH_SCHEMA . "/ant-url_action/";
|
|
|
+ $this->antBin = APP_PATH_WWW . DS . 'stuff' . DS . 'dita-ot-2.3.3' . DS . 'bin' . DS . 'ant';
|
|
|
+ $this->_antUrlProjects = [];// path => label
|
|
|
+ $this->_antUrlProjectTemplates = [];// path => [ template => label ]
|
|
|
+ }
|
|
|
|
|
|
public function defaultAction() {
|
|
|
UI::gora();
|