Edit report at http://pear.php.net/bugs/bug.php?id=15894&edit=1
ID: 15894
Updated by: [email protected]
Reported By: ifeghali at php dot net
Summary: getAutoRunTemplate reads wrong path
Status: Open
Type: Bug
Package: System_Daemon
PHP Version: 5.1.6
-Assigned To:
+Assigned To: kvz
Roadmap Versions:
New Comment:
<div id="changeset">
<span class="removed">-Assigned To:</span>
<span class="added">+Assigned To: kvz</span>
</div>
Previous Comments:
------------------------------------------------------------------------
[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:
--------------
------------------------------------------------------------------------