function s_ajax_page_save_log() { if (LOG_DEBUG_INFO) { $debuglog_str = dflush_str(); _log("[[ Ajax info ]]\n\n{$debuglog_str}\n\n"); } }
function echo_debug() { echo '<pre style="text-align:left;border-top:1px solid #CCC;padding:5px;" class="s-debug">'; echo get_debuglog_html(dflush_str()); echo '</pre>'; }
protected function process_flow() { if (DEBUG && LOG_DEBUG_INFO) { $debuglog_str = dflush_str(); _log("[[ Page info ]]\n\n{$debuglog_str}\n\n"); } switch ($this->_flow) { case PAGE_FLOW_ERROR: $this->error_handler(); break; case PAGE_FLOW_REDIRECT: $this->redirect_handler(); break; case PAGE_FLOW_RENDER: $this->render(); break; } }
<?php require_once 's/s.php'; require_once BASE . 'inc/core/core.php'; Request::process(_SERVER('REQUEST_URI')); if (LOG_DEBUG_INFO) { $debuglog_str = dflush_str(); _log("[[ Info ]]\n\n{$debuglog_str}\n\n"); }