diff options
author | Phie <phie@phie.ovh> | 2019-10-05 18:11:12 +0300 |
---|---|---|
committer | Phie <phie@phie.ovh> | 2019-10-05 18:11:12 +0300 |
commit | b2f750f8cb9e96ffcf46992566db39cb4948f36d (patch) | |
tree | 1f03b8faabfb2d8eb4a03422abeb238bd3960132 /templates | |
parent | 58f6b261b4fcc485c7578b5af51ac64eaaafb41b (diff) |
fix owncloud
Diffstat (limited to 'templates')
-rwxr-xr-x | templates/index.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/index.php b/templates/index.php index 5fd2fd1..21786a8 100755 --- a/templates/index.php +++ b/templates/index.php @@ -43,6 +43,10 @@ $nonce = ""; if (method_exists(\OC::$server, "getContentSecurityPolicyNonceManager")){ $nonce = \OC::$server->getContentSecurityPolicyNonceManager()->getNonce(); } +else{ + style("carnet","../templates/CarnetElectron/compatibility/nextcloud/owncloud"); +} + $file = str_replace("src=\"","defer nonce='".$nonce."' src=\"".$root."/CarnetElectron/",$file); echo $file; echo "<span style=\"display:none;\" id=\"root-url\">".$root."/CarnetElectron/</span>"; |