Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (15 sloc) 705 Bytes
// database settings
define('DB_NAME', 'jsbin');
define('DB_USER', 'root'); // Your MySQL username
define('DB_PASSWORD', ''); // ...and password
define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value
// change this to suite your offline detection
define('OFFLINE', is_dir('/Users/'));
define('HOST', '');
// if you're running from a subdirectory, change this to the start of the
// url, i.e. - ROOT would be foobar
define('ROOT', '/');
// wishing PHP were more like JavaScript...wishing I was able to use Node.js they way I had wanted...
define('VERSION', OFFLINE ? 'debug' : trim(file_get_contents('VERSION')));