{"action":"opened","issue":{"url":"https://api.github.com/repos/concrete5/concrete5/issues/3220","labels_url":"https://api.github.com/repos/concrete5/concrete5/issues/3220/labels{/name}","comments_url":"https://api.github.com/repos/concrete5/concrete5/issues/3220/comments","events_url":"https://api.github.com/repos/concrete5/concrete5/issues/3220/events","html_url":"https://github.com/concrete5/concrete5/issues/3220","id":122634582,"number":3220,"title":"CLI breaks with symlinked core","user":{"login":"KorvinSzanto","id":1007419,"avatar_url":"https://avatars.githubusercontent.com/u/1007419?v=3","gravatar_id":"","url":"https://api.github.com/users/KorvinSzanto","html_url":"https://github.com/KorvinSzanto","followers_url":"https://api.github.com/users/KorvinSzanto/followers","following_url":"https://api.github.com/users/KorvinSzanto/following{/other_user}","gists_url":"https://api.github.com/users/KorvinSzanto/gists{/gist_id}","starred_url":"https://api.github.com/users/KorvinSzanto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KorvinSzanto/subscriptions","organizations_url":"https://api.github.com/users/KorvinSzanto/orgs","repos_url":"https://api.github.com/users/KorvinSzanto/repos","events_url":"https://api.github.com/users/KorvinSzanto/events{/privacy}","received_events_url":"https://api.github.com/users/KorvinSzanto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-17T00:24:18Z","updated_at":"2015-12-17T00:24:18Z","closed_at":null,"body":"Since [we define `DIR_BASE` to the result of `dirname(dirname(__DIR__))`](https://github.com/concrete5/concrete5/blob/develop/web/concrete/bin/concrete5.php#L3), we're making it impossible for concrete5 to see the real application directory when the core is symlinked.\r\n\r\n@mlocati @joe-meyer is there any issue with using `dirname(dirname(dirname($_SERVER['SCRIPT_FILENAME'])))` instead?"}}