diff --git a/dapostinstall.sh b/dapostinstall.sh index fdfd1a3..4cab89a 100644 --- a/dapostinstall.sh +++ b/dapostinstall.sh @@ -94,14 +94,14 @@ sleep 5 echo "Dodanie SpamAssassin dla wszystkich uzytkownikow" -cd $POSTINSTALL_DIR +cd $DAPOSTINSTALL_DIR cp user_create_post.sh /usr/local/directadmin/scripts/custom/user_create_post.sh chmod 755 /usr/local/directadmin/scripts/custom/user_create_post.sh echo "Aktywacja SpamAssassina dla obecnych użytkowników" -cd $POSTINSTALL_DIR +cd $DAPOSTINSTALL_DIR cp spam_assassin_all_users_on.sh /usr/local/directadmin/scripts/custom/ chmod 755 /usr/local/directadmin/scripts/custom/spam_assassin_all_users_on.sh /usr/local/directadmin/scripts/custom/spam_assassin_all_users_on.sh @@ -137,7 +137,7 @@ cd /usr/local/directadmin/custombuild systemctl restart directadmin sleep 5 -cd $POSTINSTALL_DIR +cd $DAPOSTINSTALL_DIR echo "Naprawa PhpMyAdmin" chmod 755 fix_phpmyadmin.sh @@ -189,7 +189,6 @@ cd /usr/local/directadmin/custombuild 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 ./build secure_php -cd $DAPOSTINSTALL_DIR echo "Certyfikat SSL dla DirectAdmina" @@ -206,3 +205,5 @@ sh hitmemodsec.sh rm -f hitmemodsec.sh daupdate antybots daupdate bbmysql +cd $DAPOSTINSTALL_DIR +