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
| { | |
| "Console Log": { | |
| "prefix": "cl", | |
| "body": "console.log($1);", | |
| "description": "Console Log" | |
| }, | |
| "Named Function": { | |
| "prefix": "nfn", | |
| "body": ["function ${1:functionName}($2) {", " $3", "}"], | |
| "description": "Named Function" |
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
| DirectoryIndex app.php | |
| #DirectoryIndex app_dev.php | |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| # Redirect to URI without front controller to prevent duplicate content | |
| # (with and without `/app.php`). Only do this redirect on the initial | |
| # rewrite by Apache and not on subsequent cycles. Otherwise we would get an | |
| # endless redirect loop (request -> rewrite to front controller -> |