From: Vincent Vanwaelscappel Date: Fri, 7 Jul 2023 08:38:33 +0000 (+0200) Subject: wait #6114 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=aabb2588e996ee3dcbc994baed1bc5b44dd1660a;p=fluidbook-toolbox.git wait #6114 --- diff --git a/app/Fluidbook/Compiler/Sound.php b/app/Fluidbook/Compiler/Sound.php new file mode 100644 index 000000000..f0af0efcd --- /dev/null +++ b/app/Fluidbook/Compiler/Sound.php @@ -0,0 +1,22 @@ +fluidbookSettings->soundTheme); + + if (!$this->fluidbookSettings->soundTheme || $this->fluidbookSettings->soundTheme == 'none' || !file_exists($dir)) { + $this->config->set('soundTheme', 'none'); + return; + } + $this->config->set('simpleSoundTheme', file_exists($dir . '/flip.mp3')); + $this->vdir->copyDirectory($dir, 'data/sounds'); + } +} diff --git a/app/helpers.php b/app/helpers.php new file mode 100644 index 000000000..6d99ebcfa --- /dev/null +++ b/app/helpers.php @@ -0,0 +1,12 @@ +id, $devs)) { + return; + } + return call_user_func_array('dd', func_get_args()); + } +}