{"action":"created","issue":{"url":"https://api.github.com/repos/lmsgit/lms/issues/591","repository_url":"https://api.github.com/repos/lmsgit/lms","labels_url":"https://api.github.com/repos/lmsgit/lms/issues/591/labels{/name}","comments_url":"https://api.github.com/repos/lmsgit/lms/issues/591/comments","events_url":"https://api.github.com/repos/lmsgit/lms/issues/591/events","html_url":"https://github.com/lmsgit/lms/pull/591","id":132265197,"number":591,"title":"Fixes TCPDF config","user":{"login":"maciejlew","id":3950004,"avatar_url":"https://avatars.githubusercontent.com/u/3950004?v=3","gravatar_id":"","url":"https://api.github.com/users/maciejlew","html_url":"https://github.com/maciejlew","followers_url":"https://api.github.com/users/maciejlew/followers","following_url":"https://api.github.com/users/maciejlew/following{/other_user}","gists_url":"https://api.github.com/users/maciejlew/gists{/gist_id}","starred_url":"https://api.github.com/users/maciejlew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maciejlew/subscriptions","organizations_url":"https://api.github.com/users/maciejlew/orgs","repos_url":"https://api.github.com/users/maciejlew/repos","events_url":"https://api.github.com/users/maciejlew/events{/privacy}","received_events_url":"https://api.github.com/users/maciejlew/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2016-02-08T21:46:33Z","updated_at":"2016-02-09T10:42:26Z","closed_at":"2016-02-08T22:45:09Z","pull_request":{"url":"https://api.github.com/repos/lmsgit/lms/pulls/591","html_url":"https://github.com/lmsgit/lms/pull/591","diff_url":"https://github.com/lmsgit/lms/pull/591.diff","patch_url":"https://github.com/lmsgit/lms/pull/591.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/lmsgit/lms/issues/comments/181810602","html_url":"https://github.com/lmsgit/lms/pull/591#issuecomment-181810602","issue_url":"https://api.github.com/repos/lmsgit/lms/issues/591","id":181810602,"user":{"login":"nicraMarcin","id":1545069,"avatar_url":"https://avatars.githubusercontent.com/u/1545069?v=3","gravatar_id":"","url":"https://api.github.com/users/nicraMarcin","html_url":"https://github.com/nicraMarcin","followers_url":"https://api.github.com/users/nicraMarcin/followers","following_url":"https://api.github.com/users/nicraMarcin/following{/other_user}","gists_url":"https://api.github.com/users/nicraMarcin/gists{/gist_id}","starred_url":"https://api.github.com/users/nicraMarcin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicraMarcin/subscriptions","organizations_url":"https://api.github.com/users/nicraMarcin/orgs","repos_url":"https://api.github.com/users/nicraMarcin/repos","events_url":"https://api.github.com/users/nicraMarcin/events{/privacy}","received_events_url":"https://api.github.com/users/nicraMarcin/received_events","type":"User","site_admin":false},"created_at":"2016-02-09T10:42:26Z","updated_at":"2016-02-09T10:42:26Z","body":"trochę zgłupiałem albo jest zły warunek w _autconfig. \r\n#v+\r\n// Load main configuration file only if the K_TCPDF_EXTERNAL_CONFIG constant is set to false.\r\nif (!defined('K_TCPDF_EXTERNAL_CONFIG') OR !K_TCPDF_EXTERNAL_CONFIG) {\r\n        // define a list of default config files in order of priority\r\n        $tcpdf_config_files = array(dirname(__FILE__).'/config/tcpdf_config.php', '/etc/php-tcpdf/tcpdf_config.php', '/etc/tcpdf/tcpdf_config.php', '/etc/tcpdf_config.php');\r\n        foreach ($tcpdf_config_files as $tcpdf_config) {\r\n                if (@file_exists($tcpdf_config) AND is_readable($tcpdf_config)) {\r\n                        require_once($tcpdf_config);\r\n                        break;\r\n                }\r\n        }\r\n}\r\n#v- \r\nZgodnie z komentarzem to zewnętrzny konfig powinien być czytany jeśli K_TCPDF_EXTERNAL_CONFIG ustawione jest na true a tymczasem jest inaczej. stąd te moje objekcje. jak widać błąd jest w tcpdf"}}