diff options
author | Urban Müller | 2007-10-11 15:35:55 +0000 |
---|---|---|
committer | Urban Müller | 2007-10-11 15:35:55 +0000 |
commit | 005e112a9699bf26f32aeedfba4cc2e86b672a34 (patch) | |
tree | 0dd7d89bd4b98fbf90a81e6df05f82f0fa12b4b0 /it_text.class | |
parent | 757f5426c78c26540823af24f84aa036f9e559d0 (diff) | |
download | itools-005e112a9699bf26f32aeedfba4cc2e86b672a34.tar.gz itools-005e112a9699bf26f32aeedfba4cc2e86b672a34.tar.bz2 itools-005e112a9699bf26f32aeedfba4cc2e86b672a34.zip |
write new format
Diffstat (limited to 'it_text.class')
-rw-r--r-- | it_text.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_text.class b/it_text.class index b03c4a6..bab512e 100644 --- a/it_text.class +++ b/it_text.class @@ -241,7 +241,7 @@ function dump_php() $oldmask = umask(002); if ($f = fopen($this->p['phpfile'], 'w')) { - $result = (fputs($f, '<?php $this->statictext = ' . strtr(var_export($this->statictext, true), array("=> \n array (" => "=> array(", "array (\n '_'" => "array(\n'_'", "\n ),\n " => "\n),\n", "\n ),\n" => "\n)\n")) . ";\n?>\n") !== false); + $result = (fputs($f, '<?php return ' . strtr(var_export($this->statictext, true), array("=> \n array (" => "=> array(", "array (\n '_'" => "array(\n'_'", "\n ),\n " => "\n),\n", "\n ),\n" => "\n)\n")) . ";\n?>\n") !== false); fclose($f); } |