Bugzilla – Attachment 21237 Details for
Bug 10915
about->timeline broken on upgraded Koha
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10915 - about->timeline broken on upgraded Koha
Bug-10915---about-timeline-broken-on-upgraded-Koha.patch (text/plain), 993 bytes, created by
Mason James
on 2013-09-19 12:19:10 UTC
(
hide
)
Description:
Bug 10915 - about->timeline broken on upgraded Koha
Filename:
MIME Type:
Creator:
Mason James
Created:
2013-09-19 12:19:10 UTC
Size:
993 bytes
patch
obsolete
>From 2d00d94a275980d64588fa4b43a5ab8d2e52c155 Mon Sep 17 00:00:00 2001 >From: Mason James <mtj@kohaaloha.com> >Date: Fri, 20 Sep 2013 00:06:20 +1200 >Subject: [PATCH] Bug 10915 - about->timeline broken on upgraded Koha >Content-Type: text/plain; charset="utf-8" > >--- > about.pl | 10 +++++++++- > 1 file changed, 9 insertions(+), 1 deletion(-) > >diff --git a/about.pl b/about.pl >index ef45340..0ba7291 100755 >--- a/about.pl >+++ b/about.pl >@@ -148,7 +148,15 @@ $template->param( table => $table ); > ## Koha time line code > > #get file location >-my $docdir = C4::Context->config('docdir'); >+my $docdir; >+if ( defined C4::Context->config('docdir') ) { >+ $docdir = C4::Context->config('docdir'); >+} else { >+ # if no <docdir> is defined in koha-conf.xml, use the default location >+ # this is a work-around to stop breakage on upgraded Kohas, bug 8911 >+ $docdir = C4::Context->config('intranetdir') . '/docs'; >+} >+ > open( my $file, "<", "$docdir" . "/history.txt" ); > my $i = 0; > >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 10915
:
21237
|
21238
|
21239
|
21251
|
21253