Posted By

zimmen on 07/07/09


Tagged

modx


Versions (?)

catch all containers for modx 0.9.6.3


 / Published in: PHP
 

Add to document.parser.class.inc.php on line 1094

  1. /* MOD by Simon .. when alias is not in container open the container*/
  2.  
  3. $alias = substr($alias,0,strrpos($alias,"/"));
  4. if (array_key_exists($alias, $this->documentListing)) {
  5. $this->documentIdentifier= $this->documentListing[$alias];
  6. }else {
  7. $this->sendErrorPage();
  8. }
  9. //$this->sendErrorPage();

Report this snippet  

You need to login to post a comment.