enable download when not logged in
This commit is contained in:
@@ -90,7 +90,7 @@ class page {
|
||||
//var_dump($user);
|
||||
ini_set('include_path', '_include/');
|
||||
//ini_set('include_path', '/var/www/badminton_coach/_include');
|
||||
if (!empty($user) && $user->is_logged_in()) {
|
||||
if ((!empty($user) && $user->is_logged_in()) || ($this->get_subpage() == "download_report")) {
|
||||
if ($this->is_page()) {
|
||||
//TODO: mi van ha nincs page? átirányítás v 404?
|
||||
//page alapján betölti a tpl-t
|
||||
|
||||
Reference in New Issue
Block a user