public function route($uri) { $urlParts = preg_split('/\\//', $uri, 0, PREG_SPLIT_NO_EMPTY); // Only route /cron/ urls if ($urlParts[0] !== 'cron') { return false; } parent::route($uri); return $this->_moduleName === self::DEFAULT_MODULE_NAME; }
public function route($uri) { parent::route($uri); // Only route /authentication/ urls return $this->_moduleName === self::DEFAULT_MODULE_NAME; }
public function route($uri) { parent::route($uri); // Only route /authentication/ urls return $this->_moduleName === $this->_defaultModuleName; }