mirror of
https://github.com/jsbin/jsbin.git
synced 2026-01-18 15:18:04 +00:00
19 lines
614 B
PHP
19 lines
614 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('MAJOR', 2);
|
|
define('MINOR', 0);
|
|
define('TINY', 0);
|
|
|
|
define('HOST', 'http://offline.jsbin.com:8080/');
|
|
|
|
// wishing PHP were more like JavaScript...wishing I was able to use Node.js they way I had wanted...
|
|
define('VERSION', OFFLINE ? 'debug' : join(array(MAJOR, MINOR, TINY), '.'));
|
|
?>
|