summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/_base.php2
-rw-r--r--src/config.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/_base.php b/src/_base.php
index 89df718..d53905d 100644
--- a/src/_base.php
+++ b/src/_base.php
@@ -173,7 +173,7 @@ abstract class Base {
*/
public function asset_stamp(string $path): int
{
- if (ENVIRONMENT == 'devlopment')
+ if (ENVIRONMENT == 'development')
return time();
if (isset(FILE_TIMES[$path]))
return FILE_TIMES[$path];
diff --git a/src/config.php b/src/config.php
index 0d52d96..2c759a2 100644
--- a/src/config.php
+++ b/src/config.php
@@ -19,7 +19,7 @@
// ENVIRONMENT
//
-// devlopment - do not cache any assets
+// development - do not cache any assets
// - use http host provided by user
//
// production - use generated timestamps for each file
@@ -29,7 +29,7 @@ if (!defined('ENVIRONMENT')) {
if (getenv('ENVIRONMENT') !== FALSE)
define('ENVIRONMENT', getenv('ENVIRONMENT'));
else
- define('ENVIRONMENT', 'devlopment');
+ define('ENVIRONMENT', 'development');
}
// CONFIG