Permalink
Browse files

modified cake/console/templates/skel for Built-in web server

  • Loading branch information...
shin1x1 committed Dec 4, 2011
1 parent 9cbc301 commit 0a3791bc2cfa90697313adaf08685001b51cc96a
Showing with 3 additions and 0 deletions.
  1. +3 −0 cake/console/templates/skel/webroot/index.php
@@ -73,6 +73,9 @@
define('CORE_PATH', CAKE_CORE_INCLUDE_PATH . DS);
}
}
if (php_sapi_name() == 'cli-server') {
$_SERVER['PHP_SELF'] = '/'.basename(__FILE__);
}
if (!include(CORE_PATH . 'cake' . DS . 'bootstrap.php')) {
trigger_error("CakePHP core could not be found. 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);
}

0 comments on commit 0a3791b

Please sign in to comment.