Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Infoscreen
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Evy Storozhenko
Infoscreen
Commits
278f052a
Commit
278f052a
authored
9 years ago
by
Tilman Vatteroth
Browse files
Options
Downloads
Patches
Plain Diff
Less-Compiler braucht wegen URL-Rewrite den RootPfad
parent
b8e1390d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config/config.php
+1
-1
1 addition, 1 deletion
config/config.php
less/style.php
+5
-3
5 additions, 3 deletions
less/style.php
with
6 additions
and
4 deletions
config/config.php
+
1
−
1
View file @
278f052a
<?php
const
root_dir
=
"/"
const
ROOT_DIR
=
"/"
?>
This diff is collapsed.
Click to expand it.
less/style.php
+
5
−
3
View file @
278f052a
...
...
@@ -11,7 +11,9 @@ if (!isset($_GET["name"])) {
$less_file
=
$_GET
[
"name"
];
//"panels/departure/style.less";
$debug
=
isset
(
$_GET
[
"debug"
]);
$root_dir
=
"/infoscreen"
;
include
"config/config.php"
;
echo
ROOT_DIR
;
$panel
=
null
;
...
...
@@ -64,14 +66,14 @@ if (!file_exists($cache_file)) {
}
if
(
$debug
)
{
echo
"cache-name: "
.
$cache_file
.
"
\n
"
;
echo
"content:
\n
"
;
if
(
!
isset
(
$content
))
echo
file_get_contents
(
$cache_file
)
.
"
\n
"
;
else
echo
$content
;
echo
"cache-name: "
.
$cache_name
.
"
\n
"
;
}
else
{
header
(
"Location:
$root_dir
/
$cache_file
"
);
header
(
"Location:
"
.
ROOT_DIR
.
"
/
$cache_file
"
);
}
...
...
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