Skip to content

Commit

Permalink
Create semantic-scribunto-autoload.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
yaronkoren authored Aug 24, 2023
1 parent a3644c3 commit ac428e4
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions _sources/patches/semantic-scribunto-autoload.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
diff --git a/extension.json b/extension.json
index 27f39c2..092b8dc 100644
--- a/extension.json
+++ b/extension.json
@@ -26,6 +26,11 @@
"ExtensionFunctions": [
"SemanticScribunto::onExtensionFunction"
],
- "load_composer_autoloader":true,
+ "AutoloadNamespaces": {
+ "SMW\\Scribunto\\": "src/"
+ },
+ "AutoloadClasses": {
+ "SemanticScribunto": "SemanticScribunto.php"
+ },
"manifest_version": 2
}

0 comments on commit ac428e4

Please sign in to comment.