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

Test for $src in recursive function #1

Open
mxmsj opened this issue Dec 1, 2017 · 0 comments
Open

Test for $src in recursive function #1

mxmsj opened this issue Dec 1, 2017 · 0 comments

Comments

@mxmsj
Copy link

mxmsj commented Dec 1, 2017

I'm trying to decode your setup instructions for a friend.

I suggest putting this test in function recurse_copy($src,$dst) in function.php:

if (!file_exists($src))
{
die('

Fatal error: cannot copy files from '.$src.'

');
}

If someone like myself has not yet figured out how to supply all of the necessary xml files, the lack of a source to be copied leads to an infinite loop.

Thanks!

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

No branches or pull requests

1 participant