Enable CustomBuild targets before building
This commit is contained in:
@@ -389,6 +389,7 @@ cd custombuild
|
||||
da build update
|
||||
da build dovecot_conf
|
||||
da build exim_conf
|
||||
da build set roundcube yes
|
||||
da build roundcube
|
||||
|
||||
echo "OneClick PhpMyAdmin"
|
||||
@@ -397,12 +398,14 @@ cd $DADIR/
|
||||
systemctl restart directadmin
|
||||
cd custombuild
|
||||
da build update
|
||||
da build set phpmyadmin yes
|
||||
da build phpmyadmin
|
||||
|
||||
echo "PhpMyAdmin tylko z poziomu DirectAdmina"
|
||||
|
||||
cd $CBDIR
|
||||
da build update
|
||||
da build set phpmyadmin yes
|
||||
da build set phpmyadmin_public no
|
||||
da build phpmyadmin
|
||||
systemctl restart directadmin
|
||||
@@ -456,6 +459,7 @@ cd $DAPOSTINSTALL_DIR
|
||||
cd $CBDIR
|
||||
touch custom/php_disable_functions
|
||||
echo "exec,system,passthru,shell_exec,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname" > custom/php_disable_functions
|
||||
da build set secure_php yes
|
||||
da build secure_php
|
||||
|
||||
echo "Optymalizacja MySQL"
|
||||
|
||||
@@ -156,6 +156,9 @@ assert_file_not_contains "$ROOT_DIR/dapostinstall.sh" '\./build'
|
||||
assert_file_not_contains "$ROOT_DIR/dapostinstall.sh" '^[[:space:]]*\$CBDIR/build'
|
||||
assert_file_not_contains "$ROOT_DIR/dapostinstall.sh" 'http_methods'
|
||||
assert_file_contains "$ROOT_DIR/dapostinstall.sh" 'da build set composer yes'
|
||||
assert_file_contains "$ROOT_DIR/dapostinstall.sh" 'da build set phpmyadmin yes'
|
||||
assert_file_contains "$ROOT_DIR/dapostinstall.sh" 'da build set roundcube yes'
|
||||
assert_file_contains "$ROOT_DIR/dapostinstall.sh" 'da build set secure_php yes'
|
||||
assert_file_contains "$ROOT_DIR/dapostinstall.sh" 'da build set eximconf yes'
|
||||
assert_file_contains "$ROOT_DIR/dapostinstall.sh" 'da build exim_conf'
|
||||
assert_file_contains "$ROOT_DIR/dapostinstall.sh" 'build_php_extension "\$ioncube" "php_ioncube"'
|
||||
|
||||
Reference in New Issue
Block a user