Access model files in config.php


#1

Is it possible in config.php to access a model file and read a static method from SomeModelPage class in the models folder?


#2

I’m not sure (but I think not). If you need a static method, I’ld make it available as a plugin.
That way it should be available in the config.php, and you can re-use in a model.