anuary/xhprof.io — pull request #4 by indigofeather (2012-11-01 07:40:20+00:00)
Title: I have fixed something

1. fixed for PHP 5.3 compatibility

2. fixed the config key from 'xhprof_url' to 'base_url'

in **/xhprof/includes/bootstrap.inc.php** on line **39**
```php
$config	= require BASE_PATH . '/includes/config.inc.php';

if(!isset($config['base_url'], $config['pdo']))
{
throw new \Exception('XHProf.io is not configured. Refer to /xhprof/includes/config.inc.php.');
}

define('BASE_URL', $config['base_url']);
```
but in **/xhprof/includes/config.inc.sample.php**

```php
'https://dev.anuary.com/8d50658e-f8e0-5832-9e82-6b9e8aa940ac/',
'pdo'	=> new PDO('mysql:dbname=your_database_name;host=localhost;charset=utf8', 'username', 'password'),
);
```