cvs: doc-editor /php class.php
| From: | Yannick Torres | Date: | Fri, 10 Apr 2009 21:08:08 +0000 |
| Subject: | cvs: doc-editor /php class.php | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-3678@lists.php.net to get a copy of this message | ||
yannick Fri Apr 10 21:08:08 2009 UTC
Modified files:
/doc-editor/php class.php
Log:
* revert previous commit
* fix ' in maintainer name for error Files
http://cvs.php.net/viewvc.cgi/doc-editor/php/class.php?r1=1.25&r2=1.26&diff_format=u
Index: doc-editor/php/class.php
diff -u doc-editor/php/class.php:1.25 doc-editor/php/class.php:1.26
--- doc-editor/php/class.php:1.25 Thu Apr 2 05:49:05 2009
+++ doc-editor/php/class.php Fri Apr 10 21:08:07 2009
@@ -1796,12 +1796,10 @@
* @return The output log.
*/
function checkBuild($enable_xml_details='false') {
- $cmd = 'cd '.DOC_EDITOR_CVS_PATH.';/usr/bin/php configure.php
--with-lang='.$this->cvsLang;
+ $cmd = 'cd '.DOC_EDITOR_CVS_PATH.';/usr/bin/php configure.php
--with-lang='.$this->cvsLang.' --disable-segfault-error';
if ($enable_xml_details == 'true' ) {
$cmd .= ' --enable-xml-details';
- } else {
- $cmd .= ' --disable-segfault-error';
}
$cmd .= ';';
@@ -2280,7 +2278,7 @@
//(\''.$lang.'\',
\''.$path.'\',\''.$name.'\','.$maintainer.',\''.$this->db->real_escape_string($error[$i]['value_en']).'\',\''.$this->db->real_escape_string($error[$i]['value_lang']).'\',\''.$error[$i]['type'].'\')';
foreach ($errors as $error) {
- $sql .= sprintf($pattern, $lang, $path, $name, $maintainer,
$this->db->real_escape_string($error['value_en']),
+ $sql .= sprintf($pattern, $lang, $path, $name, trim($maintainer,"'"),
$this->db->real_escape_string($error['value_en']),
$this->db->real_escape_string($error['value_lang']),
$error['type']);
}