Welcome Guest, Not a member yet? Register   Sign In
Any special configuration needed for PhpEd DBG
#3

[eluser]Unknown[/eluser]
I have the same problem to debug with PHPEd and i do that:

in your application/config/config.php add lines:

Code:
if (isset($_REQUEST['DBGSESSID'])){
    $config['index_page'] = "index.php?DBGSESSID=".$_REQUEST['DBGSESSID'];
}else{
    $config['index_page'] = "index.php";
}

unset($_GET['DBGSESSID']);
if (isset($_SERVER['QUERY_STRING'])){
    $_SERVER['QUERY_STRING'] = preg_replace('`DBGSESSID.*?c=\d(.*)`','$1',$_SERVER['QUERY_STRING']);
    $_SERVER['QUERY_STRING'] = trim($_SERVER['QUERY_STRING'],'&');
    $_SERVER['PATH_INFO'] = $_SERVER['QUERY_STRING'];
}

instead of the line :
Code:
$config['index_page'] = "index.php";

Now PHPEd seem to work well with CI.


Messages In This Thread
Any special configuration needed for PhpEd DBG - by El Forum - 01-25-2008, 11:25 PM
Any special configuration needed for PhpEd DBG - by El Forum - 02-29-2008, 08:40 AM
Any special configuration needed for PhpEd DBG - by El Forum - 09-15-2008, 01:26 PM



Theme © iAndrew 2016 - Forum software by © MyBB