Add missing constant

pull/2715/head
Julio Montoya 7 years ago
parent e0a21c649d
commit 8835cac069
  1. 2
      main/inc/lib/api.lib.php

@ -107,6 +107,7 @@ define('SURVEY_VISIBLE_PUBLIC', 2);
/* When you add a new tool you must add it into function api_get_tools_lists() too */
define('TOOL_DOCUMENT', 'document');
define('TOOL_LP_FINAL_ITEM', 'final_item');
define('TOOL_READOUT_TEXT', 'readout_text');
define('TOOL_THUMBNAIL', 'thumbnail');
define('TOOL_HOTPOTATOES', 'hotpotatoes');
define('TOOL_CALENDAR_EVENT', 'calendar_event');
@ -775,6 +776,7 @@ function api_get_path($path = '', $configuration = [])
\Symfony\Component\Routing\Generator\UrlGeneratorInterface::ABSOLUTE_URL
);
$root_web = urldecode($root_web);
var_dump($root_web);exit;
}
if (isset($configuration['multiple_access_urls']) &&

Loading…
Cancel
Save