Re: Does this seem wrong to anyone else?
| From: | Thorsten Suckow-Homberg | Date: | Wed, 20 Aug 2008 21:25:32 +0000 |
| Subject: | Re: Does this seem wrong to anyone else? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-278427@lists.php.net to get a copy of this message | ||
1055 function mkdir_recursive($pathname, $mode) 1056 { 1057 is_dir(dirname($pathname)) ||mkdir_recursive(dirname($pathname), $mode);1058 return is_dir($pathname) || @mkdir($pathname, $mode); 1059 } Is this function defined within a class? From which scope do you call this method? Where is the method defined and from where do you call it?