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
private String currentLocale; | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
currentLocale = getResources().getConfiguration().locale.toString(); | |
} | |
@Override | |
public void onConfigurationChanged(Configuration newConfig) { |
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
#!/bin/bash | |
# Comment this if you won't display the symfony version and environment | |
export SYMFONYRC_DISPLAY_VERSION=1 | |
# Execute 'sfenv' to change the default environment | |
function sfenv() | |
{ | |
case $1 in | |
prod|dev|test ) |