I have an existing PHP web application that includes a file of functions (not a class, just functions).
Is there a good way to include that file in my yii application, while keeping it in it’s current directory location (i.e. not moved to a yii protected sub-directory)? It won’t be feasible to simply wrap the file in a class, since the functions in that file are used extensively in the existing web application.
FWIW - my goal is to retain the existing web application while moving functionality to the yii version. It will be necessary to maintain both for a period of time.