Exemplo n.º 1
0
 /**
  * Extract the structure version value from serializated table field and check it.
  * @return true if the version is bigger than 1
  */
 public function gotDirectoryStructureVer2()
 {
     G::LoadClass("configuration");
     $configuration = new Configurations();
     if (defined('SYS_SYS') && $configuration->exists("ENVIRONMENT_SETTINGS")) {
         return $configuration->getDirectoryStructureVer() > 1;
     }
     return false;
 }