equal
deleted
inserted
replaced
389 // If the site is disabled but the user has admin rights, allow browsing |
389 // If the site is disabled but the user has admin rights, allow browsing |
390 // and stuff, but display the orange box notifying the admin. |
390 // and stuff, but display the orange box notifying the admin. |
391 $template->site_disabled = true; |
391 $template->site_disabled = true; |
392 } |
392 } |
393 |
393 |
394 // A better name for this hook would be common_post. At this point |
394 // At this point all of Enano is fully initialized and running and you're ready to do whatever you want. |
395 // all of Enano is fully initialized and running and you're ready |
|
396 // to do whatever you want. |
|
397 $code = $plugins->setHook('common_post'); |
395 $code = $plugins->setHook('common_post'); |
398 foreach ( $code as $cmd ) |
396 foreach ( $code as $cmd ) |
399 { |
397 { |
400 eval($cmd); |
398 eval($cmd); |
401 } |
399 } |