From d78afeef3efb084afdd8d849f7b38a837b1cce30 Mon Sep 17 00:00:00 2001 From: Ermal Date: Fri, 10 Dec 2010 12:30:09 +0000 Subject: Prepend package name to functions and use require_once instead of require. --- config/tftp/tftp.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'config/tftp/tftp.inc') diff --git a/config/tftp/tftp.inc b/config/tftp/tftp.inc index 9d06573c..e19d68bb 100644 --- a/config/tftp/tftp.inc +++ b/config/tftp/tftp.inc @@ -32,7 +32,7 @@ */ -function guid() +function tftp_guid() { if (function_exists('com_create_guid')){ return com_create_guid(); @@ -53,7 +53,7 @@ function guid() //echo guid(); -function pkg_is_service_running($servicename) +function tftp_pkg_is_service_running($servicename) { exec("/bin/ps ax | awk '{ print $5 }'", $psout); array_shift($psout); @@ -68,7 +68,7 @@ function pkg_is_service_running($servicename) } } -function byte_convert( $bytes ) { +function tftp_byte_convert( $bytes ) { if ($bytes<=0) return '0 Byte'; @@ -293,4 +293,4 @@ function tftp_deinstall_command() } -?> \ No newline at end of file +?> -- cgit v1.2.3