@@ -192,7 +192,7 @@ private function _initModulesConfig($dir)
192
192
}
193
193
194
194
/** format long names*/
195
- static public function sliceName ($ name , $ nchar )
195
+ public static function sliceName ($ name , $ nchar )
196
196
{
197
197
if (strlen ($ name ) > $ nchar )
198
198
{
@@ -208,7 +208,7 @@ static public function sliceName($name, $nchar)
208
208
}
209
209
210
210
/** create init file*/
211
- static public function createInitFile ($ path , $ data )
211
+ public static function createInitFile ($ path , $ data )
212
212
{
213
213
if (!is_writable (dirname ($ path )))
214
214
{
@@ -247,7 +247,7 @@ static public function createInitFile($path, $data)
247
247
return $ text ;
248
248
}
249
249
/** PHP md5_file is very slow on large file. If md5 sum is on the system we use it. */
250
- static public function md5file ($ filename )
250
+ public static function md5file ($ filename )
251
251
{
252
252
// If we have md5 sum
253
253
if (Zend_Registry::get ('configGlobal ' )->md5sum ->path )
@@ -296,7 +296,7 @@ static function checkPhpExtensions($phpextensions)
296
296
* which is not supported by PHP's filesize()
297
297
* @param path Path of the file to check
298
298
*/
299
- static public function fileSize ($ path )
299
+ public static function fileSize ($ path )
300
300
{
301
301
if (strpos (strtolower (PHP_OS ), 'win ' ) === 0 )
302
302
{
@@ -314,7 +314,7 @@ static public function fileSize($path)
314
314
* Format file size. Rounds to 1 decimal place and makes sure
315
315
* to use 3 or less digits before the decimal place.
316
316
*/
317
- static public function formatSize ($ sizeInBytes , $ separator = ', ' )
317
+ public static function formatSize ($ sizeInBytes , $ separator = ', ' )
318
318
{
319
319
$ suffix = 'B ' ;
320
320
if (Zend_Registry::get ('configGlobal ' )->application ->lang == 'fr ' )
@@ -344,7 +344,7 @@ static public function formatSize($sizeInBytes, $separator = ',')
344
344
}
345
345
346
346
/** Safe delete function. Checks ifthe file can be deleted. */
347
- static public function safedelete ($ filename )
347
+ public static function safedelete ($ filename )
348
348
{
349
349
if (!file_exists ($ filename ))
350
350
{
0 commit comments