projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Changelog
[platal.git]
/
include
/
xorg.inc.php
diff --git
a/include/xorg.inc.php
b/include/xorg.inc.php
index
276cc8b
..
cb1fb37
100644
(file)
--- a/
include/xorg.inc.php
+++ b/
include/xorg.inc.php
@@
-31,6
+31,8
@@
function _new_page($type, $tpl_name, $min_auth, $admin=false)
{
global $page,$globals;
require_once("xorg/page.inc.php");
+ if ($min_auth == AUTH_PUBLIC && Env::get('force_login') == '1')
+ $min_auth = AUTH_COOKIE;
if (!empty($admin)) {
$page = new XorgAdmin($tpl_name, $type);
} else switch($min_auth) {