<?php
define('EXPECTED_CONFIG_VERSION', 26);
- define('SCHEMA_VERSION', 132);
+ define('SCHEMA_VERSION', 133);
define('LABEL_BASE_INDEX', -1024);
define('PLUGIN_FEED_BASE_INDEX', -128);
// do not cache files smaller than that (bytes)
define_default('CACHE_MAX_DAYS', 7);
// max age in days for various automatically cached (temporary) files
+ define_default('MAX_CONDITIONAL_INTERVAL', 3600*12);
+ // max interval between forced unconditional updates for servers
+ // not complying with http if-modified-since (seconds)
/* tunables end here */
}
}
+ function check_mysql_tables() {
+ $schema = db_escape_string(DB_NAME);
+
+ $result = db_query("SELECT engine, table_name FROM information_schema.tables WHERE
+ table_schema = '$schema' AND table_name LIKE 'ttrss_%' AND engine != 'InnoDB'");
+
+ $bad_tables = [];
+
+ while ($line = db_fetch_assoc($result)) {
+ array_push($bad_tables, $line);
+ }
+
+ return $bad_tables;
+ }
+