Bug #15894 [Asn->Csd]: getAutoRunTemplate reads wrong path
| From: | kevin at vanzonneveld dot net | Date: | Sun, 15 Feb 2009 12:50:36 +0000 |
| Subject: | Bug #15894 [Asn->Csd]: getAutoRunTemplate reads wrong path | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-21@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=15894&edit=1
ID: 15894
Updated by: kevin@vanzonneveld.net
Reported By: ifeghali at php dot net
Summary: getAutoRunTemplate reads wrong path
-Status: Assigned
+Status: Closed
Type: Bug
Package: System_Daemon
PHP Version: 5.1.6
Assigned To: kvz
Roadmap Versions:
New Comment:
<div id="changeset">
<span class="removed">-Status: Assigned</span>
<span class="added">+Status: Closed</span>
</div>
This bug has been fixed in CVS.
If this was a documentation problem, the fix will appear on
pear.php.net by the end of next Sunday (CET).
If this was a problem with the pear.php.net website, the change should
be live shortly.
Otherwise, the fix will appear in the package's next release.
Thank you for the report and for helping us make PEAR better.
Thanks!
Previous Comments:
------------------------------------------------------------------------
[2009-02-15 12:30:32] kvz
<div id="changeset">
<span class="removed">-Assigned To:</span>
<span class="added">+Assigned To: kvz</span>
</div>
------------------------------------------------------------------------
[2009-02-12 18:31:11] ifeghali
Ok i cant attach the patch. Here it goes:
--- OS.php.orig 2009-02-12 16:06:37.000000000 -0200
+++ OS.php 2009-02-12 16:07:09.000000000 -0200
@@ -249,7 +249,7 @@
return false;
}
- return file_get_contents($this->autoRunTemplatePath);
+ return file_get_contents($path);
}//end getAutoRunTemplate
/**
------------------------------------------------------------------------
[2009-02-12 18:27:06] ifeghali
Description:
------------
OS::getAutoRunTemplate() reads the wrong path when
autoRunTemplatePath is set to false. Please see patch attached.
Test script:
---------------
Expected result:
----------------
Actual result:
--------------
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=15894&edit=1