mirror of
https://github.com/e107inc/e107.git
synced 2025-08-13 01:54:12 +02:00
Add admin logging to front page setting. Allow {..} path constants
This commit is contained in:
13
index.php
13
index.php
@@ -12,8 +12,8 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/index.php,v $
|
||||
| $Revision: 1.4 $
|
||||
| $Date: 2008-01-12 16:51:43 $
|
||||
| $Revision: 1.5 $
|
||||
| $Date: 2008-08-25 15:25:12 $
|
||||
| $Author: e107steved $
|
||||
|
||||
Mods for prioritised system
|
||||
@@ -53,7 +53,14 @@ else
|
||||
if (in_array($fk,$class_list))
|
||||
{
|
||||
// Debateable whether we should append $query - we may be redirecting to a custom page, for example
|
||||
$location = ((strpos($fp, 'http') === FALSE) ? e_BASE : '').$fp.$query;
|
||||
if (strpos($fp,'{') !== FALSE)
|
||||
{
|
||||
$location = $tp->replaceConstants($fp).$query;
|
||||
}
|
||||
else
|
||||
{
|
||||
$location = ((strpos($fp, 'http') === FALSE) ? e_BASE : '').$fp.$query;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user