mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 17:59:22 +02:00
* sizeof is alias of count
This commit is contained in:
parent
b1fd1263f1
commit
5f22ab0361
@ -17,7 +17,7 @@ else
|
|||||||
{
|
{
|
||||||
// detect locale
|
// detect locale
|
||||||
$locale_s = get_browser_languages();
|
$locale_s = get_browser_languages();
|
||||||
if(!sizeof($locale_s))
|
if(!count($locale_s))
|
||||||
$locale_ = 'en';
|
$locale_ = 'en';
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -245,7 +245,7 @@ class Items_Images
|
|||||||
/*
|
/*
|
||||||
if ( $nostand )
|
if ( $nostand )
|
||||||
{
|
{
|
||||||
for( $i = 0; $i < sizeof( $sprites ) / 4; $i++ )
|
for( $i = 0; $i < count( $sprites ) / 4; $i++ )
|
||||||
{
|
{
|
||||||
$sprites = array_merge( (array) $sprites, array_reverse( array_slice( $sprites, $i * 4, 4 ) ) );
|
$sprites = array_merge( (array) $sprites, array_reverse( array_slice( $sprites, $i * 4, 4 ) ) );
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user