We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 84a35dd + ac7b645 commit 2b30a07Copy full SHA for 2b30a07
server/plugins-available/webserver_plugin.inc.php
@@ -28,6 +28,13 @@
28
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29
*/
30
31
+/* compatibility for php < 5.5 (centos 7), remove when no longer needed */
32
+if(!function_exists("array_column")){
33
+ function array_column($array,$column_name){
34
+ return array_map(function($element) use($column_name){return $element[$column_name];}, $array);
35
+ }
36
+}
37
+
38
class webserver_plugin {
39
40
var $plugin_name = 'webserver_plugin';
0 commit comments