Skip to content

Commit

Permalink
Merge pull request #11 from scientist-softserv/i330-jan-security-scan…
Browse files Browse the repository at this point in the history
…-fixes

i330-jan-security-scan-fixes
  • Loading branch information
aprilrieger authored Jan 25, 2024
2 parents 332a1c3 + 87b8e67 commit d92fd78
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,5 @@
omeka.sql

.env.*
*deploy.yaml
*deploy.yaml
.git/
8 changes: 6 additions & 2 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# Note: This should only be enabled for development or debugging. Keep this
# line commented for production sites.
#
SetEnv APPLICATION_ENV development
# SetEnv APPLICATION_ENV production

# ------------- #
# Rewrite Rules #
Expand Down Expand Up @@ -73,4 +73,8 @@ Header set strict-transport-security: "max-age=31536000; includeSubDomains"
<IfModule mod_php5.c>
php_flag register_globals off
php_flag magic_quotes_gpc off
</IfModule>
php_value display_errors 0
php_value display_startup_errors 0
php_flag log_errors on
php_value error_log /var/log/apache2/error.log
</IfModule>
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.2.7-apache as web
FROM php:8.2.15-apache as web

RUN a2enmod rewrite
RUN a2enmod headers
Expand Down
2 changes: 2 additions & 0 deletions application/config/config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ debug.emailLogPriority = Zend_Log::ERR
; Logging ;
;;;;;;;;;;;

errors.log = true
errors.display = false
; log.errors
; Log errors and other information.
; default: false
Expand Down
2 changes: 1 addition & 1 deletion bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/

// Define the current version of Omeka.
define('OMEKA_VERSION', '3.1.1');
define('OMEKA_VERSION', '3.1.2');

// Define the application environment.
if (!defined('APPLICATION_ENV')) {
Expand Down
3 changes: 2 additions & 1 deletion chart/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
server.pem
server.key
*values.yaml
*values.yaml
.git/
3 changes: 2 additions & 1 deletion plugins/ExhibitBuilder/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.DS_Store
.DS_Store
.git/
1 change: 1 addition & 0 deletions themes/berlin/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
.sass-cache/
node_modules/
package-lock.json
.git/
1 change: 1 addition & 0 deletions themes/default/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.DS_Store
.sass-cache
node_modules/
.git/
3 changes: 2 additions & 1 deletion themes/seasons/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.DS_Store
.sass-cache
node_modules/
package-lock.json
package-lock.json
.git/

0 comments on commit d92fd78

Please sign in to comment.