Bug #15894 [Opn]: getAutoRunTemplate reads wrong path

From: Date: Sun, 15 Feb 2009 12:30:32 +0000
Subject: Bug #15894 [Opn]: getAutoRunTemplate reads wrong path
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-19@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: 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: -------------- ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=15894&edit=1

« previous php.pear.bugs (#19) next »