diff options
| author | Armand Philippot <git@armandphilippot.com> | 2021-10-31 22:03:04 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2021-10-31 22:03:04 +0100 |
| commit | c64a7bd26fefb53aee53667cf33e2c72b7d07311 (patch) | |
| tree | 332cac2337dd4b9c1b11e98683240274731bbb19 /index.php | |
| parent | 3be752d822e12a34ff388b98f8654ab02a8ea586 (diff) | |
build: use php dotenv instead of js to inject style.js in dev mode
Diffstat (limited to 'index.php')
| -rw-r--r-- | index.php | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -14,6 +14,8 @@ $dap_current_env = dap_get_current_env(); <?php if ($dap_current_env === 'production') { echo '<link rel="stylesheet" href="assets/css/style.css" />'; + } else { + echo '<script src="assets/js/style.js"></script>'; } ?> </head> |
