cwresdev 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/stubs/router.php +6 -0
package/package.json
CHANGED
package/stubs/router.php
CHANGED
|
@@ -53,6 +53,12 @@ if (empty($_REQUEST['lti_message_type'])) {
|
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
+
// Load dev_prepend (session mocks, PHP 8 polyfills) before the target file
|
|
57
|
+
$prependFile = $stubsDir . DIRECTORY_SEPARATOR . 'dev_prepend.php';
|
|
58
|
+
if (file_exists($prependFile)) {
|
|
59
|
+
include_once $prependFile;
|
|
60
|
+
}
|
|
61
|
+
|
|
56
62
|
// Change to the directory of the requested file so relative paths work
|
|
57
63
|
chdir(dirname($file));
|
|
58
64
|
|