Ignore:
Timestamp:
May 13, 2008 4:14:53 AM (16 years ago)
Author:
quinn
Message:

Fixed lots of misplings. I'm so embarrassed! ;P

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/codebase_v1-to-v2_upgrade_checklist.txt

    r256 r334  
    2323   
    2424   
    25 3. $CFG-> variables are gone. Most of these should be converted into their $app and $auth equivelents. 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:
     253. $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:
    2626
    2727    $CFG->gallery_images_url = '/gallery_images';
     
    3535    "{$cfg['gallery_images_url']}/my/path".
    3636   
    37 If the value used is now to be retreived from a $object->getParam(...) method call, youll need to do this:
     37If the value used is now to be retrieved from a $object->getParam(...) method call, you'll need to do this:
    3838
    3939    $object->getParam('gallery_images_url') . '/my/path'
     
    4848    <a href="<?php echo $app->ohref("/my/file.php"); ?>">
    4949   
    50 (In otherwords, the URL should be a not-fully-qualified URL starting with a slash.)
    51 
    52 
    53 // 5. Expect formatting incosistencies! 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:
    5454
    5555Searching for "$CFG->ssl_domain = 'www.example.com';":
Note: See TracChangeset for help on using the changeset viewer.