Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

custom objectHandler - problems with include php files

$
0
0

Topic by Ariel Rauch

Hi,

I have a handler written for Create and Update, which includes (include_once) some php files. Those files define a class and their method.

The code was written by someone else and now I have to add some changes:)

The external files are running the class definition ONLY when the class was not defined earlier. (if !class_exists("classname")). 

Unfortunately, my changes are never run because it pretends that the class is already defined b(even if I check this as the first line of the handler)

 

Please help!!!

 


Viewing all articles
Browse latest Browse all 2504

Trending Articles