Skip to content

Commit cfc2fd6

Browse files
authored
fix env variable
1 parent fb7bd0f commit cfc2fd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/runtime.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ Create Your Own Runtime Template
509509

510510
In some cases the default generic runtime template generated (`vendor/autoload_runtime.php`)
511511
file is not enough. For example: you want to use a different entry point than
512-
``$_SERVER['FILE_SCRIPTNAME']`` or a different SAPI than the traditional ``cli``,
512+
``$_SERVER['SCRIPT_FILENAME']`` or a different SAPI than the traditional ``cli``,
513513
``phpdbg`` or ``embed``.
514514

515515
To use your own template, you can register it as follows:

0 commit comments

Comments
 (0)