Comments (2)
This will work in 99% of cases, however, it's possible that config("pluginsdir") will return a list of dirs and not a scalar. In that case it will be necessary to check and find which path is correct for the plugin.
This is a possible improvement:
my $pluginsdir = C4::Context->config("pluginsdir");
my @pluginsdir = ref($pluginsdir) eq 'ARRAY' ? @$pluginsdir : $pluginsdir;
my ($PluginDir) = grep { -f $_ . "/Koha/Plugin/EDS.pm" } @pluginsdir;
from edsapi-koha-plugin.
This was brought into one of the more recent updates, I'll credit you in #68 !
Thanks @kylemhall !
from edsapi-koha-plugin.
Related Issues (20)
- Can't locate object method "create_message_headers" via package "Koha::Email" error when sending email from the Cart HOT 2
- Results not updated after logging in HOT 2
- 21.05 version of plugin does not start on Koha 21.05 HOT 5
- eds-detail.pl needs to be updated for Bootstrap in 21.05+
- Plugin doesn't appear at Koha 21.11 and produces 500 error HOT 3
- Plugin will not start in Koha 21.11 HOT 2
- Plugin does not include a en.inc file
- Cannot send opac baskets in Koha 21.11 HOT 7
- 500 Error when refreshing session token HOT 9
- SetEDS() and SetKoha() functions attempt to call jQuertUI's autocomplete
- Plugin not constructing URLs correctly in 22.11.08 HOT 5
- Cannot download cart in Koha 22.11
- Cannot send cart from OPAC in 22.11
- Issues loading plugin in IE, EDGE, Safari HOT 2
- Cannot send basket with Koha 19.05 & plugin 19.05009 HOT 1
- Out of date templates with Koha 20.11 HOT 5
- Search select delayed population can cause user confusion HOT 5
- README.md appears to be incorrect regarding versions HOT 3
- Using Github's "Releases" functionality HOT 2
- Use Koha's REST API instead of relying on altered Apache configuration HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from edsapi-koha-plugin.