Page MenuHomeDevCentral

D38.id84.diff
No OneTemporary

D38.id84.diff

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

Mime Type
text/plain
Expires
Sun, Nov 24, 14:34 (6 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2260393
Default Alt Text
D38.id84.diff (695 B)

Event Timeline