onezeronull.com
Getting root path in Javascript files included in Yii application
A server-side root path in client-side Javascript code? Are you mad? Why would I need this? Well… For example, when referencing image files (placed on server, right?), that are using dynamic …