Last active
July 1, 2021 04:42
-
-
Save rahuldadhich/30be2c422c6d4b578f31156433b98437 to your computer and use it in GitHub Desktop.
Check if constant is defined or not - Codeigniter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(defined('CONSTANT_NAME')) { | |
// do yes | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment