ezfind icon indicating copy to clipboard operation
ezfind copied to clipboard

All subsequent calls now uses ezpublish/console if applicable.

Open annitya opened this issue 12 years ago • 4 comments

Fixes EZP-21800. Code might not be perfect, but it should demonstrate what the issue entails.

annitya avatar Oct 22 '13 11:10 annitya

I haven't tried it myself, but do you know if this will still work on Legacy (only) installs?

jeromegamez avatar Oct 22 '13 11:10 jeromegamez

I have verified that the global "input" does not exist for legacy, so the executable should be set correctly. The only thing that worries me is that I had to remove escapeshellarg for the siteaccess-parameter. I tried to run the script the legacy-way and it did spawn it's threads as usual.

If you are considering a merge, I can ask if a colleague of mine can test it on a legacy-only install.

annitya avatar Oct 22 '13 11:10 annitya

The use-statement would have caused problems, so I removed it.

annitya avatar Oct 22 '13 11:10 annitya

This looks pretty hackish, but I don't have suggestions for how to deal with forking in legacy scripts in a better way.

andrerom avatar Oct 24 '14 12:10 andrerom