mirror of
https://github.com/jsbin/jsbin.git
synced 2026-01-25 15:38:56 +00:00
17 lines
583 B
PHP
17 lines
583 B
PHP
<?php
|
|
// database settings
|
|
define('DB_NAME', 'jsbin');
|
|
define('DB_USER', 'jsbin_user'); // Your MySQL username
|
|
define('DB_PASSWORD', 'jsbin_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);
|
|
|
|
// 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), '.'));
|
|
?>
|