svn: /web/doc-editor/trunk/php/ File.php

[email protected] (Yannick Torres)
Newsgroups php.doc.web
Message-ID <[email protected]>
yannick                                  Wed, 28 Apr 2010 20:54:15 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=298728

Log:
Fix path for Diff() method

Changed paths:
    U   web/doc-editor/trunk/php/File.php

Modified: web/doc-editor/trunk/php/File.php
===================================================================
--- web/doc-editor/trunk/php/File.php	2010-04-28 20:47:13 UTC (rev 298727)
+++ web/doc-editor/trunk/php/File.php	2010-04-28 20:54:15 UTC (rev 298728)
@@ -368,7 +368,7 @@
         } elseif( $type == 'file' || $type == 'patch' ) {

             $ext = ( $options['type'] == 'patch' ) ? '.' . $options['uniqID'] . '.patch' : '.new';
-            $cmd = 'cd '.$this->full_path.'; '
+            $cmd = 'cd '.$appConf[$project]['vcs.path'].$this->lang.$this->path.'; '
                   .'diff -u '.$this->name.' '.$this->name.$ext;

             $output = array();
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.