]> _ Git - fluidbook-toolbox.git/commitdiff
wait #7488 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 16 Apr 2025 17:34:08 +0000 (19:34 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 16 Apr 2025 17:34:08 +0000 (19:34 +0200)
app/Fluidbook/Compiler/Compiler.php

index 04ff1cd95c6fd09440636d5fda8f38e77738176c..2541f3633896037ee501e20f8beec733cc54dcad 100644 (file)
@@ -1102,7 +1102,7 @@ class Compiler extends Base implements CompilerInterface, IVirtualDirectoryError
             if ($this->phonegap) {
                 $csp = "<meta http-equiv=\"Content-Security-Policy\" content=\"default-src 'self' data: gap: 'unsafe-inline' *; style-src 'self' 'unsafe-inline'; font-src 'self' data:; script-src 'self' 'unsafe-inline' 'unsafe-eval' " . implode(' ', array_unique($this->securityPolicyWhitelist)) . "; img-src * data:\">";
             }
-            $lang = $this->getFluidbook()->lang;
+            $lang = $this->getFluidbook()->locale;
 
             $console = '';
             if ($this->fluidbookSettings->debugConsole) {
@@ -1177,6 +1177,7 @@ class Compiler extends Base implements CompilerInterface, IVirtualDirectoryError
                 }
             }
             $this->_indexVars = $res;
+            dddd($this->_indexVars);
             $this->log('Got index vars 6');
         }
         return $this->_indexVars;