model and external PEAR class names are the same

Im using pear in my yii application. I’ve installed PEAR packets via this tutor

And also i have Log model in my yii app.

And when i want to instantiate new model Log, there is instantiating new Log class from PEAR, how to solve this ?

In logs now any errors, about duplicating names.

Options i see:

a. remove PEAR from your include path (i guess you don’t want that)

b. rename your class

c. manually include your "Log.php" class file before you use it