From 6e08829b6e737668834647a9d2c88aa86e4b0b64 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Mon, 11 Jul 2016 23:10:52 +0200 Subject: [PATCH] Created storage and extensions directories for future use. Also removed the javascript and styles which will be used from the assets directory. --- src/application/config/config.php | 4 ++-- .../cache => extensions/plugins}/index.html | 0 src/{application/logs => extensions/themes}/index.html | 0 src/{application => storage}/cache/.htaccess | 0 src/{styles => storage/cache}/index.html | 4 ++-- src/{javascript => storage/logs}/index.html | 4 ++-- src/storage/uploads/index.html | 10 ++++++++++ 7 files changed, 16 insertions(+), 6 deletions(-) rename src/{application/cache => extensions/plugins}/index.html (100%) mode change 100644 => 100755 rename src/{application/logs => extensions/themes}/index.html (100%) mode change 100644 => 100755 rename src/{application => storage}/cache/.htaccess (100%) mode change 100644 => 100755 rename src/{styles => storage/cache}/index.html (65%) mode change 100644 => 100755 rename src/{javascript => storage/logs}/index.html (65%) mode change 100644 => 100755 create mode 100755 src/storage/uploads/index.html diff --git a/src/application/config/config.php b/src/application/config/config.php index b27ce1cd..e270aed1 100644 --- a/src/application/config/config.php +++ b/src/application/config/config.php @@ -237,7 +237,7 @@ $config['log_threshold'] = 1; | application/logs/ folder. Use a full server path with trailing slash. | */ -$config['log_path'] = ''; +$config['log_path'] = __DIR__ . '/../../storage/cache'; /* |-------------------------------------------------------------------------- @@ -259,7 +259,7 @@ $config['log_date_format'] = 'Y-m-d H:i:s'; | system/cache/ folder. Use a full server path with trailing slash. | */ -$config['cache_path'] = ''; +$config['cache_path'] = __DIR__ . '/../../storage/cache'; /* |-------------------------------------------------------------------------- diff --git a/src/application/cache/index.html b/src/extensions/plugins/index.html old mode 100644 new mode 100755 similarity index 100% rename from src/application/cache/index.html rename to src/extensions/plugins/index.html diff --git a/src/application/logs/index.html b/src/extensions/themes/index.html old mode 100644 new mode 100755 similarity index 100% rename from src/application/logs/index.html rename to src/extensions/themes/index.html diff --git a/src/application/cache/.htaccess b/src/storage/cache/.htaccess old mode 100644 new mode 100755 similarity index 100% rename from src/application/cache/.htaccess rename to src/storage/cache/.htaccess diff --git a/src/styles/index.html b/src/storage/cache/index.html old mode 100644 new mode 100755 similarity index 65% rename from src/styles/index.html rename to src/storage/cache/index.html index 423d9d58..c942a79c --- a/src/styles/index.html +++ b/src/storage/cache/index.html @@ -1,10 +1,10 @@ - 403 Forbidden + 403 Forbidden

Directory access is forbidden.

- + \ No newline at end of file diff --git a/src/javascript/index.html b/src/storage/logs/index.html old mode 100644 new mode 100755 similarity index 65% rename from src/javascript/index.html rename to src/storage/logs/index.html index 423d9d58..c942a79c --- a/src/javascript/index.html +++ b/src/storage/logs/index.html @@ -1,10 +1,10 @@ - 403 Forbidden + 403 Forbidden

Directory access is forbidden.

- + \ No newline at end of file diff --git a/src/storage/uploads/index.html b/src/storage/uploads/index.html new file mode 100755 index 00000000..c942a79c --- /dev/null +++ b/src/storage/uploads/index.html @@ -0,0 +1,10 @@ + + + 403 Forbidden + + + +

Directory access is forbidden.

+ + + \ No newline at end of file