mirror of
https://github.com/jsbin/jsbin.git
synced 2026-01-18 15:18:04 +00:00
20 lines
698 B
PHP
20 lines
698 B
PHP
<?php
|
|
// 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', 'http://jsbin.dev/');
|
|
|
|
// if you're running from a subdirectory, change this to the start of the
|
|
// url, i.e. offline.jsbin.com/foobar/ - 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')));
|
|
?>
|