Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3932087
D38.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
695 B
Referenced Files
None
Subscribers
None
D38.diff
View Options
diff --git a/files/usr/local/lib/php-fpm-env/PhpFpmEnvironment.php b/files/usr/local/lib/php-fpm-env/PhpFpmEnvironment.php
--- a/files/usr/local/lib/php-fpm-env/PhpFpmEnvironment.php
+++ b/files/usr/local/lib/php-fpm-env/PhpFpmEnvironment.php
@@ -63,9 +63,9 @@
}
/**
- * Gets the environment
+ * Prints the environment
*/
- public static function get () {
+ public static function printConfig () {
$variables = static::getEnvironmentVariables();
foreach ($variables as $key => $value) {
echo 'env["', $key, '"] = "', $value, '"', PHP_EOL;
@@ -73,4 +73,4 @@
}
}
-PhpFpmEnvironment::get();
+PhpFpmEnvironment::printConfig();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Dec 23, 21:26 (18 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2313188
Default Alt Text
D38.diff (695 B)
Attached To
Mode
D38: PhpFpmEnvironment: get → printConfig
Attached
Detach File
Event Timeline
Log In to Comment