TODO: fix bloodsucking path system
authorHarvie <tomas@mudrunka.cz>
Fri, 17 Dec 2010 15:11:59 +0000 (16:11 +0100)
committerHarvie <tomas@mudrunka.cz>
Fri, 17 Dec 2010 15:11:59 +0000 (16:11 +0100)
doc/TODO

index 9e8ffe535d01dd204075486800d29ad6e81eacbf..ef30f6ecce874765092f0a798c6f452b8fe4e501 100644 (file)
--- a/doc/TODO
+++ b/doc/TODO
 - SQL injections (many fixed, but some should be still there)
 
 - remove absolute paths from all source files (!)
+- convert to some more inteligent path system... eg.:
+       define('SYSTEM_ROOT',           '/srv/kyberia/');
+       define('SYSTEM_WWWROOT',        SYSTEM_ROOT.'/wwwroot/');
+       define('SYSTEM_URL',            '/'); //or https://dev.kyberia.cz/
+       define('SYSTEM_DATA',           '_data/');
+       define('SYSTEM_IMAGES',         '_images/');
+  because right now we can't determine both: filesystem path and URL of the same directory. this SUX!
+- when we will be doing this we should make kyberia compatible with "./" PHP open base dir.
+  i think that it's really nice philosophy when PHP script is never accessing files that are not in the same directory (or it's subdirectory) as the script itself (especialy when it cannot do this - it can be good security improvement).
 
 - remove hard-coded hostname from:
   ( registration mails )
This page took 0.163013 seconds and 4 git commands to generate.