Smarty path is not set correctly by fusiondirectory-setup --write-vars
Closed
Smarty path is not set correctly by fusiondirectory-setup --write-vars
Description
When using fusiondirectory-setup with --write-vars, SMARTY value isn't correctly set
Distribution Name and Version
Debian 10
FusionDirectory Version
1.4 dev from GIT
PHP version used
PHP7.3
Origin of php packages
Debian
Steps to Reproduce
- root@fusion-dev:/var/www/html/fusiondirectory# git clone https://gitlab.fusiondirectory.org/fusiondirectory/fd.git
- /usr/local/bin/fusiondirectory-setup --set-fd_home=/var/www/html/fusiondirectory/fd --yes --check-directories --update-cache --update-locales --write-vars
- with git diff : I get :
-/*!
- * \brief Path for smarty3 libraries
- */
-define("SMARTY", "/usr/share/php/smarty3/Smarty.class.php");
+/* Path for smarty3 libraries */
+define("SMARTY", "/usr/share/php/smarty3");
Smarty.class.php is missing
Reproduces how often: 100%
Additional Information
As Smarty isn't loaded, UI could be displayed