Where is the fn_define() function

Where is the fn_define() function?

app/functions/fn.common.php



grep is your friend…

Thanks but ther is not de function like this :



function fn_define($params)

{



}



I use windows , i cant use grep.

So do I. There are several Windows grep programs.



What version of CS-Cart are you using? It's there in v4.

Why do you want to find this function? It simply does:


function fn_define($s, $v) {
if( !defined($s) )
define($s, $v);
}


and yes, it is in fn.common.php on all versions fo cs-cart.

Not too complex.

Thanks all of you.

[quote name='ComputoGessacr' timestamp='1376067528' post='166574']





I use windows , i cant use grep.

[/quote]



Total Commander may help you.