[Koha-bugs] [Bug 21177] Use koha-conf.xml in misc/devel/update_dbix_class_files.pl
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jul 8 18:05:57 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21177
--- Comment #8 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 77574
--> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=77574
Bug 21177: Use koha-conf.xml in misc/devel/update_dbix_class_files.pl
Review of attachment 77574:
--> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=21177&attachment=77574)
-----------------------------------------------------------------
::: misc/devel/update_dbix_class_files.pl
@@ +61,5 @@
> + print STDERR "Error: KOHA_CONF is not defined\n";
> + exit(1);
> + }
> +
> + $koha_conf ||= $ENV{KOHA_CONF};
I think comment #6 was about putting this kind of line above line 59, and then
perhaps just check if ($koha_conf) in 59.
This way $koha_conf can default to the environment variable if koha-conf isn't
explicitly stated.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list