Return to Snippet

Revision: 15480
at July 7, 2009 10:03 by zimmen


Updated Code
/* MOD by Simon .. when alias is not in container open the container*/

$alias = substr($alias,0,strrpos($alias,"/"));
if (array_key_exists($alias, $this->documentListing)) {
$this->documentIdentifier= $this->documentListing[$alias];
}else {
$this->sendErrorPage();
}
//$this->sendErrorPage();

Revision: 15479
at July 7, 2009 07:56 by zimmen


Initial Code
/* MOD by Simon .. when alias is not in container open the container*/

$alias = substr($alias,0,strrpos($alias,"/"));
if (array_key_exists($alias, $this->documentListing)) {
$this->documentIdentifier= $this->documentListing[$alias];
}else {
$this->sendErrorPage();
//$this->sendErrorPage();

Initial URL

                                

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

Initial Title
catch all containers for modx 0.9.6.3

Initial Tags

                                

Initial Language
PHP