$ctime = filectime($inc);
} else {
// No, it doesn't. Zero date/time
- $ctime = "0";
+ $ctime = 0;
}
// Remember change date/time in class
// Flush array to cache file
$fp = fopen($this->cache_inc, 'w');
fwrite($fp, "\$ARRAY = \"".$ARRAY."\";\n");
- foreach ($dummy as $k=>$v)
+ foreach ($dummy as $k => $v)
{
if (is_array($v))
{
// Multi line(s) found
$LINE = "";
- foreach($v as $k2=>$v2)
+ foreach($v as $k2 => $v2)
{
// Put every array element in a row...
$LINE .= "\$data['".$k."'][] = \"".$v2."\";\n";
{
$key = $search_key;
// Key (hopefully) found?
- foreach ($dummy as $a=>$v)
+ foreach ($dummy as $a => $v)
{
// So we can update all entries
if ($a == $search)
// Flush array to cache file
$fp = fopen($this->cache_inc, 'w');
fwrite($fp, "\$dummy = \"".$ARRAY."\";\n");
- foreach ($dummy as $k=>$v)
+ foreach ($dummy as $k => $v)
{
if (is_array($v))
{
// Multi line(s) found
$LINE = "";
- foreach($v as $k2=>$v2)
+ foreach($v as $k2 => $v2)
{
// Put every array element in a row...
$LINE .= "\$data['".$k."'][] = \"".$v2."\";\n";