[drupal-devel] [task] Use named constants for drupal_bootstrap()

chx drupal-devel at drupal.org
Wed Jul 20 07:01:23 UTC 2005


Issue status update for 
http://drupal.org/node/27003
Post a follow up: 
http://drupal.org/project/comments/add/27003

 Project:      Drupal
 Version:      cvs
 Component:    base system
 Category:     tasks
 Priority:     normal
 Assigned to:  drumm
 Reported by:  drumm
 Updated by:   chx
 Status:       patch

It's fine with me. drumm says that if you do make a typo with the named
constant a useful error is more likely.




chx



Previous comments:
------------------------------------------------------------------------

Mon, 18 Jul 2005 23:22:22 +0000 : drumm

Attachment: http://drupal.org/files/issues/bootstrap_constants.patch (5.94 KB)

Named constants are much better to use than strings for this sort of
thing.







More information about the drupal-devel mailing list