chrisblakley / Nebula

Nebula is a WordPress theme framework that focuses on enhancing development. The core features of Nebula make it a powerful tool for designing, developing, and analyzing WordPress websites consistently, yet its deliberately uncomplicated code syntax also serves as a learning resource for programmers themselves.
https://nebula.gearside.com
GNU General Public License v2.0
141 stars 36 forks source link

PHG Dev Metabox gethostname() function error #415

Closed chrisblakley closed 10 years ago

chrisblakley commented 10 years ago

Might not be on all servers, but at least on Bryant's it happens:

Fatal error: Call to undefined function gethostname() in /hermes/walnaweb01a/b1163/moo.bryantcookdesignco1/BCD2015/wp-content/themes/WP-Nebula-master/includes/nebula-settings.php on line 564
chrisblakley commented 10 years ago

Should be working in PHP v5.3+. Wrapped each instance in an if function_exists() just in case.