Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3769427
D38.id84.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.id84.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
Sun, Nov 24, 14:34 (4 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2260393
Default Alt Text
D38.id84.diff (695 B)
Attached To
Mode
D38: PhpFpmEnvironment: get → printConfig
Attached
Detach File
Event Timeline
Log In to Comment