{"action":"created","issue":{"url":"https://api.github.com/repos/GetSimpleCMS/GetSimpleCMS/issues/1001","labels_url":"https://api.github.com/repos/GetSimpleCMS/GetSimpleCMS/issues/1001/labels{/name}","comments_url":"https://api.github.com/repos/GetSimpleCMS/GetSimpleCMS/issues/1001/comments","events_url":"https://api.github.com/repos/GetSimpleCMS/GetSimpleCMS/issues/1001/events","html_url":"https://github.com/GetSimpleCMS/GetSimpleCMS/issues/1001","id":54437924,"number":1001,"title":"order of registering plugins","user":{"login":"flexphperia","id":5472627,"avatar_url":"https://avatars.githubusercontent.com/u/5472627?v=3","gravatar_id":"","url":"https://api.github.com/users/flexphperia","html_url":"https://github.com/flexphperia","followers_url":"https://api.github.com/users/flexphperia/followers","following_url":"https://api.github.com/users/flexphperia/following{/other_user}","gists_url":"https://api.github.com/users/flexphperia/gists{/gist_id}","starred_url":"https://api.github.com/users/flexphperia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flexphperia/subscriptions","organizations_url":"https://api.github.com/users/flexphperia/orgs","repos_url":"https://api.github.com/users/flexphperia/repos","events_url":"https://api.github.com/users/flexphperia/events{/privacy}","received_events_url":"https://api.github.com/users/flexphperia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-15T11:16:51Z","updated_at":"2015-01-15T19:06:16Z","closed_at":null,"body":"There is no way to control order that plugins being registred in a ```plugin_functions.php``` file in \r\n```foreach ($live_plugins as $file=>$en) ``` loop.\r\nI'm not completly sure but on some shared hosting order of plugins was different that the order on other hosting.\r\n\r\nOrder of plugins is the same as in plugins.xml file that is created using ```getFiles``` function that returns an array of files from the passed path.\r\n\r\nCan someone confirm that order of files are always the same on any server when using code from that function?"},"comment":{"url":"https://api.github.com/repos/GetSimpleCMS/GetSimpleCMS/issues/comments/70141948","html_url":"https://github.com/GetSimpleCMS/GetSimpleCMS/issues/1001#issuecomment-70141948","issue_url":"https://api.github.com/repos/GetSimpleCMS/GetSimpleCMS/issues/1001","id":70141948,"user":{"login":"flexphperia","id":5472627,"avatar_url":"https://avatars.githubusercontent.com/u/5472627?v=3","gravatar_id":"","url":"https://api.github.com/users/flexphperia","html_url":"https://github.com/flexphperia","followers_url":"https://api.github.com/users/flexphperia/followers","following_url":"https://api.github.com/users/flexphperia/following{/other_user}","gists_url":"https://api.github.com/users/flexphperia/gists{/gist_id}","starred_url":"https://api.github.com/users/flexphperia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flexphperia/subscriptions","organizations_url":"https://api.github.com/users/flexphperia/orgs","repos_url":"https://api.github.com/users/flexphperia/repos","events_url":"https://api.github.com/users/flexphperia/events{/privacy}","received_events_url":"https://api.github.com/users/flexphperia/received_events","type":"User","site_admin":false},"created_at":"2015-01-15T19:06:16Z","updated_at":"2015-01-15T19:06:16Z","body":"It would be nice to have it sorted in any way. Any order but the same\nacross different servers.\nIm using it in Special Pages Extras plugin to replace main admin function\nof Special Pages plugin. This is the only way to detect when special pages\nconfiguration is saved."}}