From a9a6ea328d3fd41772672dbcfb02cb58f4d566b2 Mon Sep 17 00:00:00 2001 From: Patrik Votocek Date: Mon, 11 Apr 2011 11:31:23 +0200 Subject: [PATCH] Add storage dir --- app/storage/.gitignore | 2 ++ www/index.php | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 app/storage/.gitignore diff --git a/app/storage/.gitignore b/app/storage/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/app/storage/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/www/index.php b/www/index.php index 6365185..3a430da 100644 --- a/www/index.php +++ b/www/index.php @@ -15,5 +15,8 @@ // absolute filesystem path to the temporary files define('TEMP_DIR', WWW_DIR . '/../temp'); +// absolute filesystem path to the uploaded files +define('STORAGE_DIR', APP_DIR . '/storage'); + // load bootstrap file require APP_DIR . '/bootstrap.php';