Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
UNL_GraduateBulletin
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
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Digital Experience Group
UNL_GraduateBulletin
Commits
7873dd24
Commit
7873dd24
authored
12 years ago
by
Brett Bieber
Browse files
Options
Downloads
Patches
Plain Diff
Hotfix directory path
parent
61cb9719
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/php/UNL/Templates/Version3x1.php
+5
-4
5 additions, 4 deletions
lib/php/UNL/Templates/Version3x1.php
with
5 additions
and
4 deletions
lib/php/UNL/Templates/Version3x1.php
+
5
−
4
View file @
7873dd24
...
...
@@ -38,7 +38,7 @@ class UNL_Templates_Version3x1 implements UNL_Templates_Version
UNL_Templates
::
debug
(
'ERROR You should have a local copy of wdn/templates_3.1!'
.
' Overriding your specified template to use absolute references'
,
'getTemplate'
,
1
);
$template
=
'
Absolute
.tpl'
;
$template
=
'
Local
.tpl'
;
}
// Always try and retrieve the latest
...
...
@@ -47,11 +47,12 @@ class UNL_Templates_Version3x1 implements UNL_Templates_Version
return
$tpl
;
}
if
(
file_exists
(
UNL_Templates
::
getDataDir
()
.
'/tpl_cache/Version3x1/'
.
$template
))
{
return
file_get_contents
(
UNL_Templates
::
getDataDir
()
.
'/tpl_cache/Version3x1/'
.
$template
);
$local_file
=
UNL_Templates
::
getDataDir
()
.
'/tpl_cache/Version3x1/'
.
$template
;
if
(
file_exists
(
$local_file
))
{
return
file_get_contents
(
$local_file
);
}
throw
new
Exception
(
'Could not get the template file
!'
);
throw
new
Exception
(
'Could not get the template file
from '
.
$local_file
);
}
function
makeIncludeReplacements
(
$html
)
...
...
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