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

[email protected] (Yannick Torres)
Newsgroups php.doc.web
Message-ID <[email protected]>
yannick                                  Sun, 05 Jun 2011 21:03:05 +0000

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

Log:
Only move php file

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

Modified: web/doc-editor/trunk/php/PreviewFile.php
===================================================================
--- web/doc-editor/trunk/php/PreviewFile.php	2011-06-05 20:58:53 UTC (rev 311845)
+++ web/doc-editor/trunk/php/PreviewFile.php	2011-06-05 21:03:05 UTC (rev 311846)
@@ -76,7 +76,7 @@
         $this->buildCmd = $cmd;

         // We move the result into preview.baseURI
-        $cmd = 'mv '.$this->outputDir.'php-web/* '.$this->inputDir;
+        $cmd = 'mv '.$this->outputDir.'php-web/*.php '.$this->inputDir;
         exec("$cmd");

         $this->getOutputFileName();
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.