Changeset 3020:104efe8d97ba for inc
- Timestamp:
- 06/15/15 21:11:58 (10 years ago)
- Branch:
- default
- Location:
- inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/admin/lib.dc.page.php
r2957 r3020 550 550 $escaped_src = html::escapeHTML($src); 551 551 if (!isset(self::$loaded_js[$escaped_src])) { 552 self::$loaded_js[$escaped_src]=true; 552 self::$loaded_js[$escaped_src] = true; 553 if (strpos($escaped_src,'?')===false) { 554 $escaped_src .= '?v='; 555 } else { 556 $escaped_src .= '&v='; 557 } 558 559 if (defined('DC_DEV') && DC_DEV === true) { 560 $escaped_src .= md5(uniqid()); 561 } else { 562 $escaped_src .= DC_VERSION; 563 } 553 564 return '<script type="text/javascript" src="'.$escaped_src.'"></script>'."\n"; 554 565 } -
inc/load_plugin_file.php
r3014 r3020 47 47 } 48 48 49 // Only $_GET['pf'] is allowed in URL 50 if (count($_GET) > 1) 49 // $_GET['v'] : version in url to bypass cache in case of dotclear upgrade or in dev mode 50 // Only $_GET['pf'] and $_GET['v'] are allowed in URL 51 if (count($_GET) > 2) 51 52 { 52 53 header('Content-Type: text/plain');
Note: See TracChangeset
for help on using the changeset viewer.