Changeset 334 for trunk/docs
- Timestamp:
- May 13, 2008 4:14:53 AM (16 years ago)
- Location:
- trunk/docs
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/codebase_v1-to-v2_upgrade_checklist.txt
r256 r334 23 23 24 24 25 3. $CFG-> variables are gone. Most of these should be converted into their $app and $auth equiv elents. If a $CFG variable is NOT something used by the codebase but is still needed by the website application, I suggest converting these values to a $cfg array. For example, this:25 3. $CFG-> variables are gone. Most of these should be converted into their $app and $auth equivalents. If a $CFG variable is NOT something used by the codebase but is still needed by the website application, I suggest converting these values to a $cfg array. For example, this: 26 26 27 27 $CFG->gallery_images_url = '/gallery_images'; … … 35 35 "{$cfg['gallery_images_url']}/my/path". 36 36 37 If the value used is now to be retr eived from a $object->getParam(...) method call, youll need to do this:37 If the value used is now to be retrieved from a $object->getParam(...) method call, you'll need to do this: 38 38 39 39 $object->getParam('gallery_images_url') . '/my/path' … … 48 48 <a href="<?php echo $app->ohref("/my/file.php"); ?>"> 49 49 50 (In other words, the URL should be a not-fully-qualified URL starting with a slash.)51 52 53 // 5. Expect formatting inco sistencies! When doing global search-replace expect whitespace to be erratic, variable names to change, and lines to be otherwise inconsistent. Here's a good example of a safe way to match a line:50 (In other words, the URL should be a not-fully-qualified URL starting with a slash.) 51 52 53 // 5. Expect formatting inconsistencies! When doing global search-replace expect whitespace to be erratic, variable names to change, and lines to be otherwise inconsistent. Here's a good example of a safe way to match a line: 54 54 55 55 Searching for "$CFG->ssl_domain = 'www.example.com';": -
trunk/docs/coding_standards.txt
r293 r334 234 234 return true; 235 235 } else { 236 // To be valid email address must match regex and fit within the len th constraints.236 // To be valid email address must match regex and fit within the length constraints. 237 237 if (preg_match($this->getParam('regex'), $email, $e_parts) && mb_strlen($e_parts[2]) < 64 && mb_strlen($e_parts[3]) < 255) { 238 238 return true; -
trunk/docs/examples/db_auth.inc.php
r316 r334 3 3 * The credentials here are to be loaded only by command-line scripts executed 4 4 * on the command line or via cron. This script should be not be readable by apache. 5 * Ownership t should be the web owner, with only user-readbility, such as:5 * Ownership should be the web owner, with only user-readability, such as: 6 6 * -rw-------@ 1 bob bob 416 Mar 10 16:59 global/db_auth.inc.php 7 7 */ -
trunk/docs/examples/virtualhost_directive.conf
r288 r334 8 8 SetEnv DB_USER user_asdf 9 9 SetEnv DB_PASS pass_asdf 10 SetEnv SIGNING_KEY wekgbb92e2397g3r293gh10 SetEnv SIGNING_KEY kjhu3hf4gpoh2p9fgh8223t8h120 11 11 <Directory "/home/user/www.example.com"> 12 12 php_admin_value open_basedir "/home/user/www.example.com:/usr/local/lib/php:/tmp" -
trunk/docs/file_layout.txt
r214 r334 1 1 Updated: 11 Dec 2006 16:25:10 2 (This document is probably out-of-date.) 2 3 ===================================================================== 3 4 … … 42 43 Auth_SQL.inc.php (sql-based authentication system) 43 44 AuthorizeNet.inc.php (routines for connection to authorize.net's advanced processing interface) 44 Cache.inc.php (provides session-based caching functionality for quick retr eival of all PHP data types)45 Cache.inc.php (provides session-based caching functionality for quick retrieval of all PHP data types) 45 46 CSS.inc.php (manage and deliver CSS data) 46 47 DB.inc.php (minimal database abstraction layer) … … 49 50 FormValidator.inc.php (validation routines used to test incoming user data) 50 51 Google_API.inc.php (class for connecting to, querying, and dealing with data of the Google API) 51 Heirarchy.php (class for manipulation of h eirarchies)52 Heirarchy.php (class for manipulation of hierarchies) 52 53 Image.inc.php (manage printing of images related to db records) 53 54 ImageThumb.inc.php (automated image thumbnailing routines) … … 55 56 MCVE.inc.php 56 57 Navigation.inc.php (navigation element management class)) 57 PageNumbers.inc.php (class for managing and printing various elements of page numbers and pag enation)58 PageNumbers.inc.php (class for managing and printing various elements of page numbers and pagination) 58 59 PageSequence.inc.php (manage a sequence of steps and data from step form elements, like order checkout or signup) 59 60 PayPal.inc.php 60 61 PEdit.inc.php (page-by-page file-based content management system) 61 Prefs.inc.php (class for semi-perm enent storage of values)62 Prefs.inc.php (class for semi-permanent storage of values) 62 63 ScriptTimer.inc.php (timer for scripts) 63 64 SortOrder.inc.php (class dealing with sorting of columns in database generated lists) … … 109 110 versions.php (manage db record versions) 110 111 111 html/ (DocumentRoot of main site application)112 html/ (DocumentRoot of main site application) 112 113 _config.inc.php (configuration options and defaults specific to this site. included first in each script) 113 114 _templates/ (site specific templates. templates here override global codebase templates with same name) -
trunk/docs/version.txt
r246 r334 1 2.1. 2dev1 2.1.3dev
Note: See TracChangeset
for help on using the changeset viewer.