add full url
This commit is contained in:
@@ -42,8 +42,10 @@ class LE_REQUEST {
|
||||
|
||||
$query_clr = preg_replace('!\?.*?$!','',$query);
|
||||
|
||||
$full_url = $scheme."://".$host_full.$query;
|
||||
|
||||
return compact('ssl','port','scheme','standart_port','host','host_full','query','query_clr','protocol');
|
||||
|
||||
return compact('ssl','port','scheme','standart_port','host','host_full','query','query_clr','protocol','full_url');
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
<?php
|
||||
$le_mod_loader = new LE_MOD_LOAD();
|
||||
LE::$QUERY_DATA_TYPE = LE_REQUEST::TYPE_DETECT();
|
||||
LE::$FULL_URL = LE_REQUEST::url2arr()['full_url'];
|
||||
|
||||
|
||||
//init space
|
||||
if ($le_mod_loader->init_path!==false)
|
||||
|
||||
Reference in New Issue
Block a user