Wiki

Articles tagged with "paths", sorted by ratingX
Displaying 1-2 of 2 result(s).

Directory independent extensions

Created 3 years ago by GOshaTips3 comments – viewed 7,888 times – ( +15 / -1 ) – version 1.1
Many people want to use downloaded extensions in their own way. As for me most of the extensions require me to correct Yii::import() instructions inside their source code. All these extensions are directory dependent. To avoid the situation described above, I suggest to implement pseudo-anonymous aliases:

Fixing extensions without modifying their code

Created about a year ago by schmunkTips3 comments – viewed 4,923 times – ( +6 ) – version 1.1
If you're working a lot with extensions you often stumble upon problems, when you want to include them into your custom web application, like hardcoded or absolute path aliases or classes extended from core application components, which implement addiditonal features.