index.php 739 B

123456789101112131415161718
  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. zb_BillingStats(true);
  10. } else {
  11. $apacheZen = new ApacheZen(true);
  12. show_window('', $apacheZen->controls());
  13. show_window(__('PHP errors'), $apacheZen->renderPHPErrors());
  14. }
  15. } else {
  16. show_error(__('Access denied'));
  17. }