2010-moteur-site-simple/__cms__/code/cms/util.php

12 lines
176 B
PHP

<?php
function qw($arg) {
if (is_array($arg)) return $arg;
$ret = array();
foreach(explode(" ", $arg) as $v) {
if ($v !== "") array_push($ret, $v);
}
return $ret;
}
?>