/** * Sets the path to the Static Resource manager controller * @static * @param xPDO $modx A reference to the modX instance * @return string */ public static function getControllerPath(xPDO &$modx) { $path = modResource::getControllerPath($modx); return $path . 'staticresource/'; }