summaryrefslogtreecommitdiff
path: root/app/php
diff options
context:
space:
mode:
Diffstat (limited to 'app/php')
-rw-r--r--app/php/web/ClientScriptManager.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/php/web/ClientScriptManager.php b/app/php/web/ClientScriptManager.php
index 5ef0a4d..223c6e2 100644
--- a/app/php/web/ClientScriptManager.php
+++ b/app/php/web/ClientScriptManager.php
@@ -331,7 +331,9 @@ class ClientScriptManager extends TClientScriptManager {
function($matches) use($originalDir) {
$url = parse_url($matches[1]);
// ignore absolute URLs and paths
- if (isset($url['scheme']) || isset($url['host']) || $url['path'][0] == '/') {
+ if (isset($url['scheme'])
+ || isset($url['host'])
+ || $url['path'][0] == '/') {
return $matches[0];
}
// resolve relative paths