Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
phd5-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dmstr
phd5-app
Commits
650187b1
Commit
650187b1
authored
Apr 06, 2023
by
Tobias Munk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more readable config
parent
f2e108d6
Pipeline
#76546
passed with stages
in 4 minutes and 20 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
common.php
config/common.php
+2
-4
No files found.
config/common.php
View file @
650187b1
...
...
@@ -90,12 +90,12 @@ if (getenv('APP_ASSET_USE_BUNDLED')) {
);
}
// set convenience variables
$boxLayout
=
'@backend/views/layouts/box'
;
$isHttps
=
getenv
(
'HTTPS'
)
===
'on'
;
$dbAttributes
=
[
PDO
::
MYSQL_ATTR_SSL_VERIFY_SERVER_CERT
=>
0
];
if
(
getenv
(
'MYSQL_ATTR_SSL_CA'
))
{
$dbAttributes
[
PDO
::
MYSQL_ATTR_SSL_CA
]
=
getenv
(
'MYSQL_ATTR_SSL_CA'
);
}
...
...
@@ -117,8 +117,6 @@ SQL;
return
$event
;
});
$boxLayout
=
'@backend/views/layouts/box'
;
// Basic configuration, used in web and console applications
return
[
'id'
=>
'app'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment