Page MenuHomeDevCentral

D38.id79.diff
No OneTemporary

D38.id79.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
Tue, Dec 24, 02:36 (19 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2313188
Default Alt Text
D38.id79.diff (695 B)

Event Timeline