Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Piatok, 19. apríl 2024

Rozdiely pre Metafox/admin/_core.php medzi verziami 1.5 a 1.6

verzia 1.5, 2006/07/09 09:26:06 verzia 1.6, 2007/03/06 23:07:35
Riadok 17 
Riadok 17 
  * http://platon.sk/projects/Metafox/   * http://platon.sk/projects/Metafox/
  */   */
   
 /* $Platon: Metafox/admin/_core.php,v 1.4 2005/08/13 23:06:17 nepto Exp $ */  /* $Platon: Metafox/admin/_core.php,v 1.5 2006-07-09 09:26:06 nepto Exp $ */
   
 /* MAINTAINANCE: This file is maintained in Metafox project and distributed  /* MAINTAINANCE: This file is maintained in Metafox project and distributed
    across the particular projects accordingly. */     across the particular projects accordingly. */
Riadok 88  if (! $ezin_auth->getAuth()) { // not lo
Riadok 88  if (! $ezin_auth->getAuth()) { // not lo
   
 } else { // logged in case  } else { // logged in case
   
         $ezin_USER = $ezin_auth->getUserInfo();          $ezin_user = $ezin_auth->getUserInfo();
   
         if (empty($ezin_USER['role_login'])) {          if (empty($ezin_user['role_login'])) {
                 echo 'You\'re not allowed to log in.<br>';                  echo 'You\'re not allowed to log in.<br>';
                 $ezin_auth->logout();                  $ezin_auth->logout();
         } else {          } else {
Riadok 109  if (! $ezin_auth->getAuth()) { // not lo
Riadok 109  if (! $ezin_auth->getAuth()) { // not lo
                                 $ok = 1;                                  $ok = 1;
                         } elseif (is_array($ar['column'])) {                          } elseif (is_array($ar['column'])) {
                                 foreach ($ar['column'] as $col) {                                  foreach ($ar['column'] as $col) {
                                         if (ezin_admin_check_list_privileges($ezin_USER[$col])) {                                          if (ezin_admin_check_list_privileges($ezin_user[$col])) {
                                                 $ok = 1;                                                  $ok = 1;
                                                 break;                                                  break;
                                         }                                          }
                                 }                                  }
                         } elseif (ezin_admin_check_list_privileges($ezin_USER[$ar['column']])) {                          } elseif (ezin_admin_check_list_privileges($ezin_user[$ar['column']])) {
                                 $ok = 1;                                  $ok = 1;
                         }                          }
                         if ($ok) {                          if ($ok) {
Riadok 140  if (! $ezin_auth->getAuth()) { // not lo
Riadok 140  if (! $ezin_auth->getAuth()) { // not lo
                                  * File management action                                   * File management action
                                  */                                   */
                         case 'file_management':                          case 'file_management':
                                 if (ezin_admin_check_list_privileges($ezin_USER['role_file_management'])) {                                  if (ezin_admin_check_list_privileges($ezin_user['role_file_management'])) {
                                         $ezin_admin_orig_dir = getcwd();                                          $ezin_admin_orig_dir = getcwd();
                                         Platon::chdir_back($ezin_sys['dir']['admin']);                                          Platon::chdir_back($ezin_sys['dir']['admin']);
                                         if (@file_exists($ezin_sys['dir']['upload'])) {                                          if (@file_exists($ezin_sys['dir']['upload'])) {

Legend:
Odstranené z verzie1.5  
zmenené riadky
  Pridané vo verzii1.6

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok