Compare commits
1 commit
9b0793eac7
...
f8ea051f99
Author | SHA1 | Date | |
---|---|---|---|
f8ea051f99 |
2 changed files with 7 additions and 0 deletions
|
@ -88,3 +88,6 @@ RUN chmod 755 /usr/local/bin/*
|
||||||
# Add crontab file in the cron directory
|
# Add crontab file in the cron directory
|
||||||
ADD crontab /etc/crontab
|
ADD crontab /etc/crontab
|
||||||
RUN chmod 0644 /etc/crontab
|
RUN chmod 0644 /etc/crontab
|
||||||
|
|
||||||
|
# Enable production config
|
||||||
|
RUN cp /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini
|
||||||
|
|
|
@ -156,11 +156,15 @@ enableSemantics( getenv("SEMANTIC_URL") );
|
||||||
# Set Subpages on
|
# Set Subpages on
|
||||||
$wgNamespacesWithSubpages[NS_MAIN] = 1;
|
$wgNamespacesWithSubpages[NS_MAIN] = 1;
|
||||||
|
|
||||||
|
ini_set('display_errors', '0');
|
||||||
|
ini_set('display_startup_errors', '0');
|
||||||
# Enable long error messages
|
# Enable long error messages
|
||||||
if (getenv("DEBUG")) {
|
if (getenv("DEBUG")) {
|
||||||
$wgShowExceptionDetails = true;
|
$wgShowExceptionDetails = true;
|
||||||
$wgShowDBErrorBacktrace = true;
|
$wgShowDBErrorBacktrace = true;
|
||||||
$wgShowSQLErrors = true;
|
$wgShowSQLErrors = true;
|
||||||
|
ini_set("display_errors", 1);
|
||||||
|
ini_set('display_startup_errors', '1');
|
||||||
}
|
}
|
||||||
|
|
||||||
# Local configuration for MediaWiki
|
# Local configuration for MediaWiki
|
||||||
|
|
Loading…
Reference in a new issue