CakePHP Interview Question and Answer   What is the first file that gets loaded when you run a application using cakephp?  Answer: bootstrap.php      You can be changed it either through index.php , or through .htaccess      How to change via webroot > index.php           if (!defined('CAKE_CORE_INCLUDE_PATH')) {          if (function_exists('ini_set')) {              ini_set('include_path', ROOT . DS . 'lib' . PATH_SEPARATOR . ini_get('include_path'));          }          if (!include('Cake' . DS . 'bootstrap.php')) { // Change bootstrap.php file to any file name              $failed = true;          }      } else {          if (!include(CAKE_CORE_INCLUDE_PATH . DS . 'Cake' . DS . 'bootstrap.php')) {              $failed = true;      ...
Coding Cheatsheets - Learn web development code and tutorials for Software developers which will helps you in project. Get help on JavaScript, PHP, XML, and more.