Strategic Software Consultant

I'm the partner of choice for many of the world's leading enterprises. I help businesses elevate their value through solution discovery, software development, design, QA, and consultancy services. As your Strategic Software Consultant, I work across many technology products and delivery teams. The scope of technology is broad, and it is my job to understand how your technology applications holistically support and connect to create a sustainable technology ecosystem. The ecosystem of technologies may span to 3rd party applications, in-house developed solutions, business intelligence, data integrations, and of course, SaaS applications.

Oracle Certified Specialist
Custom Process Model (CPM) Customer Portal Oracle B2C Service

B2C Service – Detect Production vs. Test

This snippet of code is great for CPMs, widgets, and File Manager files to detect the interface name.

<?php
if (cfg_get((120)) == "interfaceName")
{  
	// production
}
else
{  
	// test site like TST1
}
?>

Leave a comment

Your email address will not be published. Required fields are marked *