13.04.2015, 09:57
Thanks you all guys I fixed the problem
I just changed
to this
I just changed
PHP код:
#if USE_LOCALHOST == true
#define LOCAL_HOST "localhost"
#define LOCAL_USER "root"
#define LOCAL_PASS ""
#define LOCAL_DB "server"
#else
#define SERVER_HOST "127.0.0.1"
#define SERVER_USER "port_7717"
#define SERVER_PASS "mypass"
#define SERVER_DB "port_7717"
#endif
PHP код:
#if USE_LOCALHOST == true
#define SERVER_HOST "127.0.0.1"
#define SERVER_USER "port_7717"
#define SERVER_PASS "mypass"
#define SERVER_DB "port_7717"
#else
#define LOCAL_HOST "localhost"
#define LOCAL_USER "root"
#define LOCAL_PASS ""
#define LOCAL_DB "server"
#endif