у меня скрипт відает ошибку
Warning: strpos() [function.strpos]: Empty delimiter. in /home/wer/domains/wer.com.ua/public_html/k/modules/structure.class.php on line 1573
Warning: strpos() [function.strpos]: Empty delimiter. in /home/wer/domains/wer.com.ua/public_html/k/modules/structure.class.php on line 1573
Warning: strpos() [function.strpos]: Empty delimiter. in /home/wer/domains/wer.com.ua/public_html/k/modules/structure.class.php
Строка в этом отрезке:
- Код: Выделить всё
function checkfilters( $what, $where )
{
$where = explode( "\n", $where );
$what = strtolower( $what );
if ( is_array( $where ) )
{
for ($j = 0;$j <= sizeof( $where ) - 1; ++$j)
{
$where[$j] = ltrim( $where[$j] );
$where[$j] = rtrim( $where[$j] );
if ( strpos( $what, $where[$j] ) == false ) //Вот на это место
{
}
else
{
return true;
}
}
}
return false;
}
В чем здесь проблема?








