Qantas94Heavy Posted May 5, 2013 Report Posted May 5, 2013 Hi, I was wondering if it'd be possible to use some of the phpVMS functions on a non-phpVMS site, with the phpVMS stuff in a different folder. I've tried including the core Codon configuration file in other PHP scripts, but that fails. I then tried setting the root in that folder to the phpVMS folder - no better news. Am I just completely off-track or is there some sort of way? Quote
freshJet Posted May 6, 2013 Report Posted May 6, 2013 Depends what you want to use. If it's the modules and classes you want to use then just include it like this: <?php include('/home/username/public_html/core/codon.config.php');?> Quote
Qantas94Heavy Posted May 7, 2013 Author Report Posted May 7, 2013 Depends what you want to use. If it's the modules and classes you want to use then just include it like this: <?php include('/home/username/public_html/core/codon.config.php');?> If I attempt that, I get: Fatal error: Call to undefined method Config::Set() in /home/username/example.net/public_html/core/codon.config.php on line 67 What would be the cause of such an issue (directory root possibly)? Quote
freshJet Posted May 7, 2013 Report Posted May 7, 2013 Did you copy that right? And replace username with your cPanel username? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.