[eluser]Dariusz-Gdynia[/eluser]
I need to include some code (some functions) into controller. It's not used every time so there is no need to have it all the time.
Example:
Code:
function abc ($z){
if ($z==1)
include 'somescript.php';
}
My questions are:
Where can I put my 'somescript.php' and what path should I give in "include"?
Is there something similar to "include"?