From: Harvie Date: Fri, 17 Dec 2010 11:00:20 +0000 (+0100) Subject: Rewrite cleanup, TODO: rename images to _images X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=38d469f590f00881f259a72b7ff4a7648b3022c6;p=mirrors%2FKyberia-bloodline.git Rewrite cleanup, TODO: rename images to _images --- diff --git a/.gitignore b/.gitignore index 465733a..2b24adc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -_* +-* *~ *.part diff --git a/doc/TODO b/doc/TODO index 612b088..0866ad2 100644 --- a/doc/TODO +++ b/doc/TODO @@ -53,3 +53,6 @@ - (IMHO we should use SHA1 or stronger algorithm instead of MD5 for storing passwords) (I've implemented this partially. We can now login using various hash algorithms, it's backward compatible, but we still need to edit registration/password changing to use SHA1 when updating passwords in DB) + +- Rename all files&directories that should not be rewrited to PATH_INFO to start with "_" (and if they should be also ignored by git they should start with "-") + (Rename images to _images - and fix hardcoded stuff...) diff --git a/wwwroot/config/config_default.inc b/wwwroot/config/config_default.inc index aa21caf..96e1021 100644 --- a/wwwroot/config/config_default.inc +++ b/wwwroot/config/config_default.inc @@ -10,7 +10,7 @@ define('DB_DATABASE', 'kyberia'); date_default_timezone_set('Europe/Prague'); define('SYSTEM_ROOT', '/srv/kyberia/'); -define('SYSTEM_DATA', SYSTEM_ROOT . '/wwwroot/data/'); +define('SYSTEM_DATA', SYSTEM_ROOT . '/wwwroot/_data/'); define('CONFIG_DIR', SYSTEM_ROOT . 'config/'); define('AJAX_DIR', SYSTEM_ROOT . 'wwwroot/ajax/'); define('INCLUDE_DIR', SYSTEM_ROOT . 'wwwroot/inc/'); diff --git a/wwwroot/data/.gitignore b/wwwroot/data/.gitignore deleted file mode 100644 index 72e8ffc..0000000 --- a/wwwroot/data/.gitignore +++ /dev/null @@ -1 +0,0 @@ -* diff --git a/wwwroot/images b/wwwroot/images index 1070d1d..4bd300f 120000 --- a/wwwroot/images +++ b/wwwroot/images @@ -1 +1 @@ -data/images/ \ No newline at end of file +_data/images/ \ No newline at end of file diff --git a/wwwroot/templates b/wwwroot/templates deleted file mode 120000 index 2165c66..0000000 --- a/wwwroot/templates +++ /dev/null @@ -1 +0,0 @@ -data/templates/own_templates/ \ No newline at end of file