svn: /web/doc-editor/trunk/php/ RepositoryManager.php
[email protected] (Yannick Torres)
| Newsgroups | php.doc.web |
|---|---|
| Message-ID | <[email protected]> |
yannick Mon, 09 Nov 2009 18:02:44 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=290438
Log:
Fix compilation check
Changed paths:
U web/doc-editor/trunk/php/RepositoryManager.php
Modified: web/doc-editor/trunk/php/RepositoryManager.php
===================================================================
--- web/doc-editor/trunk/php/RepositoryManager.php 2009-11-09 17:45:18 UTC (rev 290437)
+++ web/doc-editor/trunk/php/RepositoryManager.php 2009-11-09 18:02:44 UTC (rev 290438)
@@ -89,7 +89,7 @@
*/
public function checkBuild($enable_xml_details=false)
{
- $cmd = 'cd '.DOC_EDITOR_VCS_PATH.';'
+ $cmd = 'cd '.DOC_EDITOR_VCS_PATH.'/doc-base/;'
.'/usr/bin/php configure.php '
.'--with-lang='.AccountManager::getInstance()->vcsLang.' --disable-segfault-error';
@@ -106,6 +106,8 @@
// TODO: extract the string replace outside this function
$output = str_replace("Warning", '<span style="color: #FF0000; font-weight: bold;">Warning</span>', $output);
+ $output[] = $cmd;
+
return $output;
}