// this needs to clear it's own cache along with remote one..
- $url = "http://localhost{$this->local_base_url}/Core/RefreshDatabaseCache";
- $response = $this->curl($url);
+ $response = $this->curl("http://localhost{$this->local_base_url}/Core/RefreshDatabaseCache");
$json = json_decode($response, true);
function clearApacheAssetCache()
{
- $a = new Pman();
- $mods = $a->modulesList();
- $url = "http://localhost{$this->local_base_url}/Core/Asset";
- $response = $this->curl($url, array(
- '_clear_cache' => 1,
-
- ));
+ $response = $this->curl(
+ "http://localhost{$this->local_base_url}/Core/Asset",
+ array( '_clear_cache' => 1 )
+ );
$json = json_decode($response, true);
if(empty($json['success']) || !$json['success']) {