Created
July 19, 2011 10:31
-
-
Save j0k3r/1091933 to your computer and use it in GitHub Desktop.
well well well
This file contains 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
<?php | |
public static function hideInProd(){ | |
if(sfConfig::get('sf_environment') == 'prod'){ | |
return " style=\"display:none;\""; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment