Ignore this. It's just me working late.
Obviously you can have numbers in your module name, they just can't be
at the begining - since it would not make a valid php class


---------- Forwarded message ----------
From: Ovidiu EFTIMIE <[EMAIL PROTECTED]>
Date: Sun, Apr 6, 2008 at 1:38 AM
Subject: No numbers in module names
To: [email protected]


Hi,
 I just discovered that numbers are not allowed in the modules directory names

 Zend_Controller_Front.php
  public function addModuleDirectory($path)
    {
  ..............................................................................
            // Don't use SCCS directories as modules
            if (preg_match('/^[^a-z]/i', $module) || ('CVS' == $module)) {
                continue;
            }
 
.......................................................................................

        return $this;
    }

 Is this a bug ?
 How about adding numbers ?

 preg_match('/^[^a-z0-9]/i', $module)

 Ovidiu

Reply via email to