/** * Función que copia un recurso directamente en el DocumentRoot * @param string $path * @param string $dest * @param bool|FALSE $force * * @return string * @throws ConfigException */ public static function resource($path, $dest, $force = false) { $debug = Config::getInstance()->getDebugMode(); $domains = Template::getDomains(true); $filename_path = self::extractPathname($path, $domains); GeneratorService::copyResources($dest, $force, $filename_path, $debug); return ''; }