The document contains code snippets and documentation about CakePHP, an open-source PHP web framework. It includes PHP code for retrieving data from a database based on a search keyword and displaying the results. It also discusses the model-view-controller approach used in CakePHP and configuring CakePHP to work without URL rewriting. The code examples demonstrate basic usage of CakePHP for building a web application.
21. /**
* To configure CakePHP *not* to use mod_rewrite and to
* use CakePHP pretty URLs, remove these .htaccess
* files:
*
* /.htaccess
* /app/.htaccess
* /app/webroot/.htaccess
*
* And uncomment the App.baseUrl below:
*/
//Configure::write('App.baseUrl', env('SCRIPT_NAME'));
CakePHP Yusuke Ando (@yando)