Quote:
Originally Posted by SecretBoss
Thanks you all guys I fixed the problem
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
to this
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
|
So you are not fixing the problem, but just making sure you can't work with it locally anymore. Also this is really prone to errors in the future. Spend some time with CTRL+R (replace) and you are done.