mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
writing some docs, starting low...
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@133 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
d84575c565
commit
0a4a5e9844
3 changed files with 15 additions and 12 deletions
|
@ -15,7 +15,8 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Purpose: AppController
|
* Purpose: AppController
|
||||||
* Enter description here...
|
* This file is application-wide controller file. You can put all
|
||||||
|
* application-wide controller-related methods here.
|
||||||
*
|
*
|
||||||
* @filesource
|
* @filesource
|
||||||
* @author Cake Authors/Developers
|
* @author Cake Authors/Developers
|
||||||
|
@ -31,8 +32,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enter description here...
|
* Add your application-wide methods in the class below, your controllers
|
||||||
*
|
* will be inheriting them.
|
||||||
*
|
*
|
||||||
* @package cake
|
* @package cake
|
||||||
* @subpackage cake.app
|
* @subpackage cake.app
|
||||||
|
@ -42,4 +43,4 @@
|
||||||
class AppController extends Controller {
|
class AppController extends Controller {
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -15,7 +15,8 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Purpose: AppModel
|
* Purpose: AppModel
|
||||||
* Enter description here...
|
* This file is application-wide model file. You can put all
|
||||||
|
* application-wide model-related methods here.
|
||||||
*
|
*
|
||||||
* @filesource
|
* @filesource
|
||||||
* @author Cake Authors/Developers
|
* @author Cake Authors/Developers
|
||||||
|
@ -31,8 +32,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enter description here...
|
* Add your application-wide methods in the class below, your models
|
||||||
*
|
* will be inheriting them.
|
||||||
*
|
*
|
||||||
* @package cake
|
* @package cake
|
||||||
* @subpackage cake.app
|
* @subpackage cake.app
|
||||||
|
@ -42,4 +43,4 @@
|
||||||
class AppModel extends Model {
|
class AppModel extends Model {
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -14,7 +14,8 @@
|
||||||
//////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enter description here...
|
* This file collects requests if no mod_rewrite is avilable and / is used
|
||||||
|
* instead of /public/ as a web root.
|
||||||
*
|
*
|
||||||
* @filesource
|
* @filesource
|
||||||
* @author Cake Authors/Developers
|
* @author Cake Authors/Developers
|
||||||
|
@ -29,9 +30,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enter description here...
|
* We need to redefine some constants and variables, so that Cake knows it is
|
||||||
*
|
* working without mod_rewrite.
|
||||||
*/
|
*/
|
||||||
define ('BASE_URL', $_SERVER['SCRIPT_NAME']);
|
define ('BASE_URL', $_SERVER['SCRIPT_NAME']);
|
||||||
define ('ROOT', dirname($_SERVER['SCRIPT_FILENAME']).'/');
|
define ('ROOT', dirname($_SERVER['SCRIPT_FILENAME']).'/');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue