Changeset 581 for trunk/Modules/Log/Log.php
- Timestamp:
- Sep 12, 2013, 9:14:38 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Log/Log.php
r578 r581 13 13 $this->License = 'GNU/GPL'; 14 14 $this->Description = 'Log various application events'; 15 $this->Dependencies = array('Error' );15 $this->Dependencies = array('Error', 'News'); 16 16 17 17 $this->Excludes = array(); … … 22 22 $this->System->RegisterPage('log.php', 'PageLog'); 23 23 $this->System->ModuleManager->Modules['Error']->OnError[] = array($this, 'DoAddItem'); 24 $this->System->ModuleManager->Modules['News']->RegisterRSS(array('Title' => 'Záznamy', 25 'Channel' => 'log', 'Callback' => array('PageLog', 'ShowRSS'), 'Permission' => LICENCE_ADMIN)); 24 26 } 25 27 … … 111 113 if(array_key_exists('a', $_POST)) $Action = $_POST['a']; 112 114 else if(array_key_exists('a', $_GET)) $Action = $_GET['a']; 113 else $Action = ''; 114 if($Action == 'rss') $Output = $this->ShowRSS(); 115 else $Action = ''; 115 116 if($Action == 'delerrlog') $Output = $this->DeleteErrorLog(); 116 117 else $Output = $this->ShowList();
Note:
See TracChangeset
for help on using the changeset viewer.