{"action":"opened","issue":{"url":"https://api.github.com/repos/mpdf/mpdf/issues/101","repository_url":"https://api.github.com/repos/mpdf/mpdf","labels_url":"https://api.github.com/repos/mpdf/mpdf/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/mpdf/mpdf/issues/101/comments","events_url":"https://api.github.com/repos/mpdf/mpdf/issues/101/events","html_url":"https://github.com/mpdf/mpdf/issues/101","id":140149746,"number":101,"title":"\"is_dir\" warning","user":{"login":"premekkoch","id":895425,"avatar_url":"https://avatars.githubusercontent.com/u/895425?v=3","gravatar_id":"","url":"https://api.github.com/users/premekkoch","html_url":"https://github.com/premekkoch","followers_url":"https://api.github.com/users/premekkoch/followers","following_url":"https://api.github.com/users/premekkoch/following{/other_user}","gists_url":"https://api.github.com/users/premekkoch/gists{/gist_id}","starred_url":"https://api.github.com/users/premekkoch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/premekkoch/subscriptions","organizations_url":"https://api.github.com/users/premekkoch/orgs","repos_url":"https://api.github.com/users/premekkoch/repos","events_url":"https://api.github.com/users/premekkoch/events{/privacy}","received_events_url":"https://api.github.com/users/premekkoch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-11T10:34:20Z","updated_at":"2016-03-11T10:34:20Z","closed_at":null,"body":"On production, php generates warning _File(..) is not within the allowed path(s)..._. I localized a problem, but I don't trust myself do do some kind of pullrequest here right. So I want to ask, if you can implement this fix, please:\r\n\r\nIn mpdf.php file on row nr. 7520 change conditions order this way:\r\n`if (($file != \"..\") && ($file != \".\") && (substr($file, 0, 1) !== '.') && ($file !='dummy.txt') && !is_dir($file) && ((filemtime(_MPDF_TEMP_PATH.$file)+$interval) < time())) { `\r\n\r\nThanks!\r\n"}}