@@ -2723,7 +2723,6 @@ public function executeParser()
2723
2723
if (is_cli ()) {
2724
2724
throw new \RuntimeException ('Call DocumentParser::executeParser on CLI mode ' );
2725
2725
}
2726
- //error_reporting(0);
2727
2726
2728
2727
$ this ->_IIS_furl_fix (); // IIS friendly url fix
2729
2728
@@ -2753,7 +2752,6 @@ public function executeParser()
2753
2752
if ($ this ->documentMethod !== 'alias ' ) {
2754
2753
$ DLTemplate = \DLTemplate::getInstance (EvolutionCMS ());
2755
2754
$ DLTemplate ->setTemplatePath ('views/ ' );
2756
- //$this->_fixURI();
2757
2755
// invoke OnWebPageInit event
2758
2756
$ this ->invokeEvent ("OnWebPageInit " );
2759
2757
// invoke OnLogPageView event
@@ -2767,11 +2765,10 @@ public function executeParser()
2767
2765
return ;
2768
2766
}
2769
2767
2770
- $ this ->documentIdentifier = $ this ->cleanDocumentIdentifier ( $ this ->documentIdentifier );
2768
+ $ this ->documentIdentifier = UrlProcessor:: cleanDocumentIdentifier ( $ this ->documentIdentifier , $ this ->documentMethod );
2771
2769
2772
2770
// Check use_alias_path and check if $this->virtualDir is set to anything, then parse the path
2773
2771
if ($ this ->getConfig ('use_alias_path ' ) == 1 ) {
2774
-
2775
2772
$ virtualDir = UrlProcessor::getFacadeRoot ()->virtualDir ;
2776
2773
$ alias = ($ virtualDir != '' ? $ virtualDir . '/ ' : '' ) . $ this ->documentIdentifier ;
2777
2774
if (isset (UrlProcessor::getFacadeRoot ()->documentListing [$ alias ])) {
@@ -2810,7 +2807,6 @@ public function executeParser()
2810
2807
$ DLTemplate = \DLTemplate::getInstance (EvolutionCMS ());
2811
2808
$ DLTemplate ->setTemplatePath ('views/ ' );
2812
2809
2813
- //$this->_fixURI();
2814
2810
// invoke OnWebPageInit event
2815
2811
$ this ->invokeEvent ('OnWebPageInit ' );
2816
2812
// invoke OnLogPageView event
0 commit comments