Improved - Generate siteManager.php

http://modx.im/blog/fast-solution/252.html

https://github.com/dmi3yy/modx.evo.custom/commit/10dabcab7dc60622834da80ab2b223516723703c
From Russian suggestion