Commit da1158370ca7cdf06909f4da6bcf9b477b892969

Authored by Michael Joseph
1 parent bc5270b9

added filesystemRoot to initialised check


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2280 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 1 additions and 1 deletions
lib/System.inc
... ... @@ -31,7 +31,7 @@ class System {
31 31 function initialised() {
32 32 global $default;
33 33  
34   - if ($this->db->query("SELECT count(*) AS count FROM system_settings WHERE name<>'lastIndexUpdate'")) {
  34 + if ($this->db->query("SELECT count(*) AS count FROM system_settings WHERE name<>'lastIndexUpdate' AND name<>'filesystemRoot'")) {
35 35 $this->db->next_record();
36 36 return ($this->db->f("count") > 0) ? true : false;
37 37 }
... ...