diff options
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>"; |