Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
KDE.org Applications Subsite
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Websites
KDE.org Applications Subsite
Commits
8eeea5e5
Commit
8eeea5e5
authored
Jun 26, 2020
by
Carl Schwan
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Add debug output"
This reverts commit
4ddb79b7
.
parent
4ddb79b7
Pipeline
#25107
passed with stage
in 3 minutes and 10 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
index.php
index.php
+3
-3
src/Controller/MainController.php
src/Controller/MainController.php
+1
-0
templates/main/applicationDevelopment.html.twig
templates/main/applicationDevelopment.html.twig
+1
-0
No files found.
index.php
View file @
8eeea5e5
...
...
@@ -9,10 +9,10 @@ use Symfony\Component\HttpFoundation\Request;
require
__DIR__
.
'/config/bootstrap.php'
;
//
if ($_SERVER['APP_DEBUG']) {
if
(
$_SERVER
[
'APP_DEBUG'
])
{
umask
(
0000
);
Debug
::
enable
();
///
}
}
if
(
!
file_exists
(
'./var/cache'
))
{
die
();
...
...
@@ -26,7 +26,7 @@ if ($trustedHosts = $_SERVER['TRUSTED_HOSTS'] ?? $_ENV['TRUSTED_HOSTS'] ?? false
Request
::
setTrustedHosts
([
$trustedHosts
]);
}
$kernel
=
new
Kernel
(
'prod'
,
tru
e
);
$kernel
=
new
Kernel
(
'prod'
,
fals
e
);
$request
=
Request
::
createFromGlobals
();
$response
=
$kernel
->
handle
(
$request
);
$response
->
send
();
...
...
src/Controller/MainController.php
View file @
8eeea5e5
...
...
@@ -129,6 +129,7 @@ class MainController extends AbstractController
'application'
=>
$application
,
'category'
=>
$category
,
'locale'
=>
$_locale
,
'locales'
=>
$this
->
getParameter
(
'app.locales'
),
]);
}
}
templates/main/applicationDevelopment.html.twig
View file @
8eeea5e5
...
...
@@ -62,6 +62,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
</a>
</div>
<code>
git clone https://invent.kde.org/
{{
application.repository
}}
</code>
{{
locales
}}
</div>
</main>
{%
endblock
%}
...
...
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