From 33a91adad3a775da44ee391856c9aced49cf0505 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 6 Sep 2010 13:59:48 +0800 Subject: [PATCH] Generator.php --- Generator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Generator.php b/Generator.php index 1915771c..2c543bea 100644 --- a/Generator.php +++ b/Generator.php @@ -424,7 +424,7 @@ touch Pman/????/DataObjects/".ucfirst($this->table).".php $out = preg_replace('/(\n|\r\n)\s*function staticGet[^\n]+(\n|\r\n)/s', '', $out); $out = preg_replace('#/\* Static get \*/#s', '', $out); - if (!file_exists(dirname($outfilename)) { + if (!file_exists(dirname($outfilename))) { mkdir(dirname($outfilename), 0755, true); } // $this->debug( "writing $this->classname\n"); -- 2.39.2