[RFC] Move index.php to subfolder, symbolic link avatar, file directories
I propose we move the index.php, .htaccess and favicons to a subfolder named public, and symbolic link the avatar and file directories.
This is better for security, and I've tested it on nightly by changing one line in index.php from
define('INSTALLDIR', dirname(__FILE__)); to
define('INSTALLDIR', __DIR__ . '/../'); and moving it to a subfolder named public/ and changing my web server config. It works fine from what I can tell, I've only tested a few things like creating notices, uploading images and favoriting notices.