This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Number.prototype.format(n, x, s, c) | |
| * | |
| * @param integer n: length of decimal | |
| * @param integer x: length of whole part | |
| * @param mixed s: sections delimiter | |
| * @param mixed c: decimal delimiter | |
| */ | |
| Number.prototype.format = function(n, x, s, c) { | |
| var re = '\\d(?=(\\d{' + (x || 3) + '})+' + (n > 0 ? '\\D' : '$') + ')', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| //file: /.env.local.php | |
| // return the configuration for the 'local' environment | |
| return array( | |
| 'db_host' => '127.0.0.1', | |
| 'db_name' => 'DB_NAME', // specify database name | |
| 'db_user' => 'DB_USER', // specify database username | |
| 'db_pass' => 'DB_PASS', // specify database password | |
| ); |
NewerOlder