zencart/zc-v1-series — pull request #254 by drbyte (2014-12-23 22:25:02+00:00)
Title: Replace shell_exec('hostname') with gethostname()

Some hosts have disabled shell_exec() for security reasons. Using gethostname() avoids that limitation, giving same results.

Props: @lat9