forked from Cavemanon/cavepaintings
don't load custom themes without base themes
git-svn-id: file:///home/shish/svn/shimmie2/trunk@722 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
@@ -308,6 +308,15 @@ function array_add($array, $element) {
|
||||
return $array;
|
||||
}
|
||||
|
||||
function array_contains($array, $target) {
|
||||
foreach($array as $element) {
|
||||
if($target == $element) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\
|
||||
* Event API *
|
||||
|
Reference in New Issue
Block a user