Révision 2b7be83a
Ajouté par Jocelyn Delande il y a environ 11 ans
class/utils.class.php | ||
---|---|---|
42 | 42 |
} |
43 | 43 |
return $ret; |
44 | 44 |
} |
45 |
public static function strip_extension($filename) { |
|
46 |
/** Removes the extension from a file name |
|
47 |
* @return the stripped name |
|
48 |
*/ |
|
49 |
return preg_replace('/\.[^.]+$/', '', $filename); |
|
50 |
} |
|
45 | 51 |
} |
46 | 52 |
|
47 | 53 |
?> |
Formats disponibles : Unified diff
moved panorama generation to class : PanoramaGenerator