Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php /* _function_show_setup.php */
- function _show_setup()
- {
- defined('jj') ?: define('jj','<br />'); # John's shortcut
- $xx = 'background-color:#ee0; color:#900; padding:1em; border:dotted 4px #f00';
- echo "<dir style='" .$xx ."'>";
- echo 'function __get_setup()', jj;
- echo jj,
- isset($_SESSION) ? 'SESSION ALREADY STARTED' : session_start();
- echo jj,
- __DIR__;
- echo jj,
- __FILE__;
- echo jj,
- error_reporting(E_ALL);
- echo jj,
- ini_set('display_errors',1);
- echo jj,
- ini_set("log_errors", 1);
- echo jj,
- $error_log = ini_set('error_log', dirname(__FILE__) .'\ERROR_LOG.php');
- // include 'asdf.php';
- $xx = 'background-color:#eee; color:#090; padding:1em; border:dotted 4px #f00';
- echo "<pre style='" .$xx ."'>";
- // highlight_file($error_log);
- echo '</pre>';
- echo '</div>';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement