Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Ci Pkg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IML Open Source
Ci Pkg
Commits
2d816d5b
Commit
2d816d5b
authored
1 year ago
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Patches
Plain Diff
enable debug in config
parent
772e54ae
No related branches found
No related tags found
1 merge request
!2
6621 update to php82
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
public_html/inc_config.php.dist
+3
-0
3 additions, 0 deletions
public_html/inc_config.php.dist
public_html/packages/index.php
+5
-4
5 additions, 4 deletions
public_html/packages/index.php
with
8 additions
and
4 deletions
public_html/inc_config.php.dist
+
3
−
0
View file @
2d816d5b
...
...
@@ -27,4 +27,7 @@ return array(
// allow directory listing when accessing a path of a package
// true is required to fetch all packages
'showdircontent'
=>
true
,
// Enable for troubleshooting
'debug'
=>
false
,
);
\ No newline at end of file
This diff is collapsed.
Click to expand it.
public_html/packages/index.php
+
5
−
4
View file @
2d816d5b
...
...
@@ -10,7 +10,7 @@
* ======================================================================
*/
$bDebug
=
false
;
ini_set
(
'display_errors'
,
1
);
ini_set
(
'display_startup_errors'
,
1
);
error_reporting
(
E_ALL
);
...
...
@@ -18,6 +18,7 @@
require_once
(
'../inc_functions.php'
);
$aConfig
=
require_once
(
"../inc_config.php"
);
$bDebug
=
isset
(
$aConfig
[
'debug'
])
&&
$aConfig
[
'debug'
]
?
true
:
false
;
$lockfile
=
$aConfig
[
'tmpdir'
]
.
'/used_hashes.txt'
;
$iMaxAge
=
$aConfig
[
'maxage'
];
...
...
@@ -26,9 +27,9 @@
// MAIN
// ----------------------------------------------------------------------
_wd
(
'Start: '
.
date
(
'Y-m-d H:i:s'
)
.
'<style>body{background:#eee; color:#456;}
.debug{background:#ddd; margin-bottom: 2px;}
</style>'
);
//
_wd('Start: '.date('Y-m-d H:i:s').'<style>body{background:#eee; color:#456;}
//
.debug{background:#ddd; margin-bottom: 2px;}
//
</style>');
_wd
(
'request uri is '
.
$_SERVER
[
"REQUEST_URI"
]);
_wd
(
'<pre>GET: '
.
print_r
(
$_GET
,
1
)
.
'</pre>'
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment