projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82d5748
)
Generator.php
author
Alan Knowles
<alan@akbkhome.com>
Mon, 6 Sep 2010 05:59:48 +0000
(13:59 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 6 Sep 2010 05:59:48 +0000
(13:59 +0800)
Generator.php
patch
|
blob
|
history
diff --git
a/Generator.php
b/Generator.php
index
1915771
..
2c543be
100644
(file)
--- 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");