mirror of
https://github.com/jsbin/jsbin.git
synced 2026-01-18 15:18:04 +00:00
23 lines
826 B
PHP
23 lines
826 B
PHP
<?php
|
|
// Make a copy of this file and name it config.local.php, then fill in
|
|
// the options with your environment specific settings.
|
|
|
|
// 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', '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')));
|
|
?>
|