Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All subsequent calls now uses ezpublish/console if applicable. #134

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

annitya
Copy link

@annitya annitya commented Oct 22, 2013

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

@jeromegamez
Copy link
Contributor

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

@annitya
Copy link
Author

annitya commented Oct 22, 2013

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
Copy link
Author

annitya commented Oct 22, 2013

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

@andrerom
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants