$this->runUpdateModulesData();
-
if (!empty($opts['add-company']) && !in_array('Core', $this->disabled)) {
// make sure we have a good cache...?
echo "$module\n";
$x->updateData();
}
-
+
}
function generateDataobjectsCache()
{
- $url = "http://localhost{$this->local_base_url}/Roo/SaveDocuments";
+ $url = "http://localhost{$this->local_base_url}/Core/RefreshDatabaseCache";
- $this->curl($url, array(
- 'onid' => $coba_declarations->id,
- 'ontable' => $coba_declarations->tableName(),
- 'method' => 'forms',
- 'file' => $file
- ), 'GET');
+ $this->curl($url);
+
}
function curl($url, $request = array(), $method = 'GET')
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_HEADER, false);
- curl_setopt($ch, CURLOPT_VERBOSE, 1);
+ curl_setopt($ch, CURLOPT_VERBOSE, 0);
curl_setopt($ch, CURLOPT_TIMEOUT, 30);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);