fix typo
This commit is contained in:
parent
97dcae2339
commit
199650f498
@ -424,7 +424,7 @@ print '<br>';
|
|||||||
print '<strong>'.$langs->trans("HTTPCacheStaticResources").' - ';
|
print '<strong>'.$langs->trans("HTTPCacheStaticResources").' - ';
|
||||||
print $form->textwithpicto($langs->trans("CacheByServer"), $langs->trans("CacheByServerDesc"));
|
print $form->textwithpicto($langs->trans("CacheByServer"), $langs->trans("CacheByServerDesc"));
|
||||||
print ':</strong><br>';
|
print ':</strong><br>';
|
||||||
// No cahce on PHP
|
// No cache on PHP
|
||||||
//print '<div id="httpcachephpok">'.img_picto('','warning.png').' '.$langs->trans("FilesOfTypeNotCompressed",'php (.php)').'</div>';
|
//print '<div id="httpcachephpok">'.img_picto('','warning.png').' '.$langs->trans("FilesOfTypeNotCompressed",'php (.php)').'</div>';
|
||||||
//print '<div id="httpcachephpko">'.img_picto('','tick.png').' '.$langs->trans("FilesOfTypeNotCached",'php (.php)').'</div>';
|
//print '<div id="httpcachephpko">'.img_picto('','tick.png').' '.$langs->trans("FilesOfTypeNotCached",'php (.php)').'</div>';
|
||||||
// Cache on rest
|
// Cache on rest
|
||||||
|
|||||||
@ -292,7 +292,7 @@ if ($action == 'refreshmanual' && $permissiontoread) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$sql = "UPDATE ".MAIN_DB_PREFIX."ecm_directories set cachenbofdoc = -1 WHERE cachenbofdoc < 0"; // If pb into cahce counting, we set to value -1 = "unknown"
|
$sql = "UPDATE ".MAIN_DB_PREFIX."ecm_directories set cachenbofdoc = -1 WHERE cachenbofdoc < 0"; // If pb into cache counting, we set to value -1 = "unknown"
|
||||||
dol_syslog("sql = ".$sql);
|
dol_syslog("sql = ".$sql);
|
||||||
$db->query($sql);
|
$db->query($sql);
|
||||||
|
|
||||||
|
|||||||
@ -269,7 +269,7 @@ if ($action == 'refreshmanual') {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$sql = "UPDATE ".MAIN_DB_PREFIX."ecm_directories set cachenbofdoc = -1 WHERE cachenbofdoc < 0"; // If pb into cahce counting, we set to value -1 = "unknown"
|
$sql = "UPDATE ".MAIN_DB_PREFIX."ecm_directories set cachenbofdoc = -1 WHERE cachenbofdoc < 0"; // If pb into cache counting, we set to value -1 = "unknown"
|
||||||
dol_syslog("sql = ".$sql);
|
dol_syslog("sql = ".$sql);
|
||||||
$db->query($sql);
|
$db->query($sql);
|
||||||
|
|
||||||
|
|||||||
@ -259,7 +259,7 @@ if ($action == 'refreshmanual') {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$sql = "UPDATE ".MAIN_DB_PREFIX."ecm_directories set cachenbofdoc = -1 WHERE cachenbofdoc < 0"; // If pb into cahce counting, we set to value -1 = "unknown"
|
$sql = "UPDATE ".MAIN_DB_PREFIX."ecm_directories set cachenbofdoc = -1 WHERE cachenbofdoc < 0"; // If pb into cache counting, we set to value -1 = "unknown"
|
||||||
dol_syslog("sql = ".$sql);
|
dol_syslog("sql = ".$sql);
|
||||||
$db->query($sql);
|
$db->query($sql);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user