Commit ID 6cec7641345a6389d71cf9b925efa13436dfab0c
|Date:||24-March-2012 at 09:40||Lines Added:||10|
|Repository:||git://github.com/jrbasso/MeioUpload.git master||Lines Removed:||0|
|Commit Comment:||When running testsuite on models that actAs MeioUpload, the validation fails in uploadCheckDir. Reason is because the code uses is_dir which assumes that the current working directory is WWW_ROOT. in testsuite, chances are that the current working directory can be APP or the project root. So we need to change the current working directory to WWW_ROOT should it not be WWW_ROOT at this point.