Skip to content

Instantly share code, notes, and snippets.

@j0k3r
Created July 19, 2011 10:31
Show Gist options
  • Save j0k3r/1091933 to your computer and use it in GitHub Desktop.
Save j0k3r/1091933 to your computer and use it in GitHub Desktop.
well well well
<?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