diff --git a/app/Config/core.php b/app/Config/core.php index 60e31654b3e..787eae89747 100644 --- a/app/Config/core.php +++ b/app/Config/core.php @@ -92,7 +92,15 @@ * /app/.htaccess * /app/webroot/.htaccess * - * And uncomment the App.baseUrl below: + * And uncomment the App.baseUrl below. But keep in mind + * that plugin assets such as images, CSS and Javascript files + * will not work without url rewriting + * To work around this issue you should either symlink or copy + * the plugin assets into you app's webroot directory. This is + * recommended even when you are using mod_rewrite. Handling static + * assets through the Dispatcher is incredibly inefficient and + * included primarily as a development convenience - and + * thus not recommended for production applications. */ //Configure::write('App.baseUrl', env('SCRIPT_NAME')); @@ -246,7 +254,7 @@ * * Note: 'default' and other application caches should be configured in app/Config/bootstrap.php. * Please check the comments in boostrap.php for more info on the cache engines available - * and their setttings. + * and their settings. */ $engine = 'File'; diff --git a/lib/Cake/Console/Templates/skel/Config/core.php b/lib/Cake/Console/Templates/skel/Config/core.php index d7fbe3a098e..96d1d1e755a 100644 --- a/lib/Cake/Console/Templates/skel/Config/core.php +++ b/lib/Cake/Console/Templates/skel/Config/core.php @@ -92,7 +92,15 @@ * /app/.htaccess * /app/webroot/.htaccess * - * And uncomment the App.baseUrl below: + * And uncomment the App.baseUrl below. But keep in mind + * that plugin assets such as images, CSS and Javascript files + * will not work without url rewriting! + * To work around this issue you should either symlink or copy + * the plugin assets into you app's webroot directory. This is + * recommended even when you are using mod_rewrite. Handling static + * assets through the Dispatcher is incredibly inefficient and + * included primarily as a development convenience - and + * thus not recommended for production applications. */ //Configure::write('App.baseUrl', env('SCRIPT_NAME')); @@ -307,7 +315,7 @@ * * Note: 'default' and other application caches should be configured in app/Config/bootstrap.php. * Please check the comments in boostrap.php for more info on the cache engines available - * and their setttings. + * and their settings. */ $engine = 'File';