summaryrefslogtreecommitdiff
path: root/it_text.class
diff options
context:
space:
mode:
authorUrban Müller2007-10-11 15:35:55 +0000
committerUrban Müller2007-10-11 15:35:55 +0000
commit005e112a9699bf26f32aeedfba4cc2e86b672a34 (patch)
tree0dd7d89bd4b98fbf90a81e6df05f82f0fa12b4b0 /it_text.class
parent757f5426c78c26540823af24f84aa036f9e559d0 (diff)
downloaditools-005e112a9699bf26f32aeedfba4cc2e86b672a34.tar.gz
itools-005e112a9699bf26f32aeedfba4cc2e86b672a34.tar.bz2
itools-005e112a9699bf26f32aeedfba4cc2e86b672a34.zip
write new format
Diffstat (limited to 'it_text.class')
-rw-r--r--it_text.class2
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);
}