Rev 1 | Rev 26 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
CAKE Conventions, Field Names
title or name -- label for record
created datetime not null -- updated to creation of record
modified or updated datetime not null -- updated to time of last edit
id char(36) or id binary(36) -- UUID for recrod
username varchar(xx) -- automatically used by login stuff
password or passwd char(32) -- automatically an mcrypt password
Secure your site by moving configuration file to above document root. Multiple "sites" can be configured also so, in the case of an app called address_book,
cp database.php documentroot/../address_book.php
and put the following contents into database.php
<?php
include realpath( $_SERVER['DOCUMENT_ROOT'] . '/../' . 'address_book.php' );
?>
Now, edit address_book.php
Generated by GNU Enscript 1.6.5.90.