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
include('Hostname/Com.php'), no such file or directory #11
Comments
yeah, this make this module unusable when you make simple email validation somewhere. |
I'll have to rework the commit above; because it contains a private constant APPLICATION_ZF2_LIB_ROOT. |
Well, I found no other way than to have the ZF2 library root to be defined somewhere. Or is there...? |
This has now been fixed in the ZF2 code by adding DIR to the validator path. |
Per @grizzm0's comment, I'm going to close this issue if it's no long a problem. Feel free to re-open it if you're still seeing an issue after updating ZF2. |
I'm having a problem with PHP classes like
Zend\Validator\Hostname
, which dynamically include resource-type PHP files relative to their own path. The error occurs here:The text was updated successfully, but these errors were encountered: