Bug #8339 LFI in install

http://tracker.modx.com/issues/8339