Home » Bug #774
use require_once instead of include
Details
| Submitted | 2004-02-17 00:07 UTC |
|---|---|
| From | pear-dev at mocsnik dot hu |
| Assigned | alexmerz |
| Status | Closed |
| Package | MP3_ID |
| PHP Version | Irrelevant |
| OS | irrelevant |
| Roadmaps | (Not assigned) |
Comments
[2004-02-17 00:07 UTC] pear-dev at mocsnik dot hu
Description:
------------
use
require_once "PEAR.php";
instead of
include "PEAR.php";
using include may break users' scripts if PEAR.php has been included before including MP3 this package
http://pear.php.net/manual/en/standards.including.php
Reproduce code:
---------------
n/a
Expected result:
----------------
n/a
Actual result:
--------------
n/a
[2004-02-17 09:48 UTC] alexmerz at php dot net
This bug has been fixed in CVS.
In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pear.php.net.
In case this was a pear.php.net website problem, the change will show
up on the website in short time.
Thank you for the report, and for helping us make PEAR better.