diff --git a/buypoints.php b/buypoints.php index df9486f..eec0fe7 100644 --- a/buypoints.php +++ b/buypoints.php @@ -43,7 +43,7 @@ if ($paypal['enabled']) { - + diff --git a/config.php b/config.php index 2d6c843..e4f38d8 100644 --- a/config.php +++ b/config.php @@ -476,6 +476,9 @@ $config['use_token'] = false; $config['use_captcha'] = false; + // Session prefix, if you are hosting multiple sites, make the session name different to avoid conflict. + $config['session_prefix'] = 'znote_'; + /* Store visitor data Store visitor data in the database, logging every IP visitng site, and how many times they have visited the site. And sometimes what diff --git a/engine/function/general.php b/engine/function/general.php index eb0cae7..51b0fc7 100644 --- a/engine/function/general.php +++ b/engine/function/general.php @@ -1,4 +1,12 @@
WINDOWS:
Download and use the latest Uniform Server.
CLICK ME to get to their website.
XAMPP sucks and is insecure. Kthxbye.

LINUX DEBIAN:
Edit /etc/apt/sources.list
etc if you use nano text editor, make sure you are root and do
nano /etc/apt/sources.list

At the bottom, add this:

deb http://packages.dotdeb.org stable all
deb-src http://packages.dotdeb.org stable all

save file.

Then in terminal, do these 2 commands:
gpg --keyserver keys.gnupg.net --recv-key 89DF5277

gpg -a --export 89DF5277 | sudo apt-key add -

And then do these 2 commands:

apt-get update
apt-get upgrade

You now have the latest stable PHP version.
'); + ip2long(getIP()),