Example #1
0
 public static function getCoreServiceRoot()
 {
     // gotta work on all this, since the custom URLs break everything
     if (strtolower($_SERVER['SERVER_NAME']) == 'www.palmettonewmedia.com') {
         return Config::getHTTPS() . '://www.palmettonewmedia.com/foodfinder/core/service';
     } else {
         return Config::getHTTPS() . '://' . $_SERVER['SERVER_NAME'] . '/core/service';
     }
 }