summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-05-13 13:29:00 +0200
committeremkael <emkael@tlen.pl>2016-05-13 13:29:00 +0200
commite6227dee47bdfbcb2751f28f7d859ff4420ba5fa (patch)
tree7737187951d287704b34c9879cc1a44f8183c433
parentb42c172699c8354717d505b535a93f96ede57475 (diff)
* code formatting
-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