From 1920a1b5942576325da85c59a013507e980812a1 Mon Sep 17 00:00:00 2001 From: Christian Beer Date: Thu, 19 Nov 2015 17:23:42 +0100 Subject: [PATCH] Web: update the upgrade script to install ReCaptcha files --- py/Boinc/setup_project.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/py/Boinc/setup_project.py b/py/Boinc/setup_project.py index 0cefe9d27d..ea0a7a9ad6 100644 --- a/py/Boinc/setup_project.py +++ b/py/Boinc/setup_project.py @@ -263,6 +263,8 @@ def create_project_dirs(dest_dir): 'html', 'html/cache', 'html/inc', + 'html/inc/ReCaptcha', + 'html/inc/ReCaptcha/RequestMethod', 'html/languages', 'html/languages/compiled', 'html/languages/translations', @@ -314,6 +316,8 @@ def install_boinc_files(dest_dir, install_web_files, install_server_files): if install_web_files: install_glob(srcdir('html/inc/*.inc'), dir('html/inc/')) install_glob(srcdir('html/inc/*.php'), dir('html/inc/')) + install_glob(srcdir('html/inc/ReCaptcha/*.php'), dir('html/inc/ReCaptcha/')) + install_glob(srcdir('html/inc/ReCaptcha/RequestMethod/*.php'), dir('html/inc/ReCaptcha/RequestMethod')) install_glob(srcdir('html/inc/*.dat'), dir('html/inc/')) install_glob(srcdir('html/ops/*.css'), dir('html/ops/')) install_glob(srcdir('html/ops/ffmail/sample*'), dir('html/ops/ffmail/'))