Welcome Guest, Not a member yet? Register   Sign In
CLI run error
#6

(12-01-2016, 11:33 PM)salain Wrote: Hi,

You use the $_SERVER array in your config file. This is useless when running from the command line.

$_SERVER is not useless.
But $_SERVER['HTTP_HOST'] doesn't exist because it comes from the HTTP Host header.
Reply


Messages In This Thread
CLI run error - by Vimal - 11-25-2016, 04:27 AM
RE: CLI run error - by milan alphansotech - 11-26-2016, 02:44 AM
RE: CLI run error - by Vimal - 12-01-2016, 10:45 AM
RE: CLI run error - by Vimal - 12-01-2016, 10:34 AM
RE: CLI run error - by salain - 12-01-2016, 11:33 PM
RE: CLI run error - by Narf - 12-02-2016, 04:40 AM
RE: CLI run error - by salain - 12-02-2016, 05:10 AM
RE: CLI run error - by Vimal - 12-08-2016, 01:26 PM



Theme © iAndrew 2016 - Forum software by © MyBB