From d925e6f3c49787ef80a68b402057eddafb59f1bf Mon Sep 17 00:00:00 2001 From: Dardo Sordi Date: Thu, 24 Apr 2008 09:59:50 -0300 Subject: [PATCH] create APP/tmp tree if not exists --- config/maketmp.php | 32 ++++++++++++++++++++++++++++++++ webroot/index.php | 3 +++ 2 files changed, 35 insertions(+) create mode 100644 config/maketmp.php diff --git a/config/maketmp.php b/config/maketmp.php new file mode 100644 index 0000000..f305de5 --- /dev/null +++ b/config/maketmp.php @@ -0,0 +1,32 @@ + \ No newline at end of file diff --git a/webroot/index.php b/webroot/index.php index 1d284ce..caa0acd 100755 --- a/webroot/index.php +++ b/webroot/index.php @@ -74,6 +74,9 @@ define('CORE_PATH', CAKE_CORE_INCLUDE_PATH . DS); } } + + include(ROOT.DS.APP_DIR.DS . 'config/maketmp.php'); + if (!include(CORE_PATH . 'cake' . DS . 'bootstrap.php')) { trigger_error("Can't find CakePHP core. Check the value of CAKE_CORE_INCLUDE_PATH in app/webroot/index.php. It should point to the directory containing your " . DS . "cake core directory and your " . DS . "vendors root directory.", E_USER_ERROR); } -- 2.11.4.GIT