Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [PHP]eZ publish i bład w funkcji
imashjan82
post
Post #1





Grupa: Zarejestrowani
Postów: 71
Pomógł: 2
Dołączył: 2.12.2009

Ostrzeżenie: (0%)
-----


Kod tej funkcji
  1. function eZUpdateDebugSettings()
  2. {
  3. $ini = eZINI::instance();
  4.  
  5. $settings = array();
  6. list( $settings['debug-enabled'], $settings['debug-by-ip'], $settings['log-only'], $settings['debug-by-user'], $settings['debug-ip-list'], $logList, $settings['debug-user-list'] ) =
  7. $ini->variableMulti( 'DebugSettings',
  8. array( 'DebugOutput', 'DebugByIP', 'DebugLogOnly', 'DebugByUser', 'DebugIPList', 'AlwaysLog', 'DebugUserIDList' ),
  9. array( 'enabled', 'enabled', 'disabled', 'enabled' ) );
  10. $logMap = array('notice' => eZDebug::LEVEL_NOTICE,
  11. 'warning' => eZDebug::LEVEL_WARNING,
  12. 'error' => eZDebug::LEVEL_ERROR,
  13. 'debug' => eZDebug::LEVEL_DEBUG,
  14. 'strict' => eZDebug::LEVEL_STRICT );
  15. $settings['always-log'] = array();
  16. foreach ( $logMap as $name => $level )
  17. {
  18. $settings['always-log'][$level] = in_array( $name, $logList );
  19. }
  20. eZDebug::updateSettings( $settings );
  21. }

A oto bład jak zgłasza : Parse error: parse error, expecting `'('' in

Nie rozumiem co jest nie tak. Wlasnie chce zainstalowac ale juz na starcie mam taki bład
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 22.08.2025 - 14:18