Skip to content
Snippets Groups Projects
Commit 2f0369a5 authored by Peter Rotich's avatar Peter Rotich
Browse files

Define URI for each page load

parent 60b73208
No related branches found
No related tags found
No related merge requests found
......@@ -112,7 +112,8 @@
require(INCLUDE_DIR.'mysql.php');
#CURRENT EXECUTING SCRIPT.
define('THISPAGE',Misc::currentURL());
define('THISPAGE', Misc::currentURL());
define('THISURI', $_SERVER['REQUEST_URI']);
# This is to support old installations. with no secret salt.
if(!defined('SECRET_SALT')) define('SECRET_SALT',md5(TABLE_PREFIX.ADMIN_EMAIL));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment