index.php 708 B

1234567891011121314151617
  1. <?php
  2. if (cfr('ROOT')) {
  3. $errorLogFlag = ubRouting::checkGet(ApacheZen::ROUTE_ERRORS) ? true : false;
  4. if (!ubRouting::checkGet(ApacheZen::ROUTE_PHPERR)) {
  5. $apacheZen = new ApacheZen($errorLogFlag);
  6. $zenFlow = new ZenFlow($apacheZen->getFlowId(), $apacheZen->render(), $apacheZen->getTimeout());
  7. show_window('', $apacheZen->controls());
  8. show_window(__('Apache') . ' ' . __('Zen') . ' ' . $apacheZen->getCurrentSource(), $zenFlow->render());
  9. } else {
  10. $apacheZen = new ApacheZen(true);
  11. show_window('', $apacheZen->controls());
  12. show_window(__('PHP errors'), $apacheZen->renderPHPErrors());
  13. }
  14. } else {
  15. show_error(__('Access denied'));
  16. }