protected function mkdir($path, $oct = 0775, $rec = false) { if (!$this->dry_run) { if (!mkdir($path, $oct, $rec)) { die("Unable to create '{$path}'..."); } if ($this->config->check(OPT_VERBOSE)) { echo "Created directory `{$path}`\n"; } } }