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 | |
/** | |
* File sunrise.php | |
* | |
* This file is read and run before most of wordpress functionality. Here we will allow | |
* all multi-site blogs administration interfaces to work on another domain (usually inside | |
* a VPN). | |
*/ | |
if (!function_exists('sunrise_modify_domain')): | |
/** |
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 | |
# | |
# check oc/login | |
oc whoami 1> /dev/null 2>&1 | |
if [ $? -ne 0 ]; then | |
echo "ERROR: You need to be logged in the cluster with 'oc' before running this." | |
exit 1 | |
fi |