From d2b51f1cd29923dd1ef01034d0c6e954f9706b10 Mon Sep 17 00:00:00 2001 From: patrick Date: Sat, 18 Jan 2025 03:05:45 +0000 Subject: [PATCH] Fix paths & protect data folder --- .devcontainer/{config.inc.php => config.inc.php.example} | 0 .devcontainer/science-ation-blank-generic.sql | 2 +- .gitignore | 1 + data/.gitkeep | 0 4 files changed, 2 insertions(+), 1 deletion(-) rename .devcontainer/{config.inc.php => config.inc.php.example} (100%) create mode 100644 .gitignore create mode 100644 data/.gitkeep diff --git a/.devcontainer/config.inc.php b/.devcontainer/config.inc.php.example similarity index 100% rename from .devcontainer/config.inc.php rename to .devcontainer/config.inc.php.example diff --git a/.devcontainer/science-ation-blank-generic.sql b/.devcontainer/science-ation-blank-generic.sql index 4effa920..26c78251 100644 --- a/.devcontainer/science-ation-blank-generic.sql +++ b/.devcontainer/science-ation-blank-generic.sql @@ -396,7 +396,7 @@ INSERT INTO `config` VALUES ('signaturepage_or_permissionform','signaturepage','Participant Registration','enum','signaturepage = Signature Page|permissionform = Permission Form',2775,'Change the name of the form that must be signed in order to participate in this fair to:
',-1), ('ethics_questions','yes','Participant Registration','yesno','',2550,'Ask if the project requires human and/or animal participants.',-1), ('FAIRYEAR','2025','Special','','',0,'',0), -('SFIABDIRECTORY','/','Special','','',0,'',0), +('SFIABDIRECTORY','/content','Special','','',0,'',0), ('charity_number','','Fundraising','text','',200,'Charity Registration Number',2025), ('cheque_date_format','DDMMYYYY','Localization','enum','YYYYMMDD=YYYYMMDD|DDMMYYYY=DDMMYYYY|MMDDYYYY=MMDDYYYY',220,'Format for dates on printed cheques',2025), ('committee_personal_fields','phonehome,phonecell,phonework,fax,org','Committee Members','multisel','sex=Gender|phonehome=Home Phone|phonework=Work Phone|phonecell=Cell Phone|fax=Fax|org=Organization|birthdate=Birthdate|lang=Preferred Language|address=Address and PostalCode|city=City|province=Province|firstaid=First Aid and CPR',500,'Personal Information to ask for on the Committee Member profile page (in addition to Name and Email)',2025), diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..adbb97d2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +data/ \ No newline at end of file diff --git a/data/.gitkeep b/data/.gitkeep new file mode 100644 index 00000000..e69de29b