Source of file Utility.php
Size: 0,344 Bytes - Last Modified: 2021-12-23T10:20:55+00:00
/var/www/docs.ssmods.com/process/src/code/Utility.php
123456789101112131415161718 | <?php namespace Stampy; class Utility { const MODULE_DIR = 'stampycss'; /** * Strip a file name of special characters * * @param string $name * @return string */ public static function sanitise_filepath($name) { return str_replace(array('~', '.', '/', '!', ' ', "\n", "\r", "\t", '\\', ':', '"', '\'', ';'), '_', $name); } } |