Skip to content

Commit

Permalink
Add Dekode Resets (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
stian-overasen authored Aug 13, 2020
1 parent 1e91011 commit 8769352
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public/content/languages

# Plugins
public/content/plugins
public/content/mu-plugins/resets

# Themes
public/content/themes/teft-theme
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"koodimonni-language/core-nb_no": "5.5",
"dekode/teft-theme": "1.0.6",
"dekode/youtube-embed-nocookie": "1.3.0",
"symfony/dotenv": "^5.0"
"symfony/dotenv": "5.1.3",
"dekodeinteraktiv/resets": "1.0.0"
},
"require-dev": {
"dekodeinteraktiv/coding-standards": "3.3.0"
Expand Down
12 changes: 12 additions & 0 deletions public/content/mu-plugins/resets-loader.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php
/**
* Autoloader for Dekode Resets
*
* @package Dekode
*/

declare( strict_types = 1 );

if ( file_exists( trailingslashit( __DIR__ ) . 'resets/resets.php' ) ) {
require trailingslashit( __DIR__ ) . 'resets/resets.php';
}

0 comments on commit 8769352

Please sign in to comment.