Skip to content

Commit

Permalink
Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Radek-Suski committed Mar 3, 2016
1 parent 513a2be commit fe048b1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions administrator/components/com_admin/models/sysinfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,8 @@ public function phpinfoEnabled()
/**
* Method to get filter data from the model
*
* @param string $dataType Type of data to get safely
* @param bool $public
* @param string $dataType Type of data to get safely
* @param bool $public passing to certain methods to strip sensitive data
*
* @return array
*
Expand Down Expand Up @@ -490,7 +490,8 @@ public function getExtensions()
/**
* Method to get the directory states
*
* @param $public - if true no information is going to be removed
* @param $public - if true no information is going to be removed
*
* @return array States of directories
*
* @since 1.6
Expand Down Expand Up @@ -604,7 +605,7 @@ public function getDirectory($public = false)
$this->addDirectory('administrator/cache', JPATH_CACHE, 'COM_ADMIN_CACHE_DIRECTORY');
}

if($public)
if ($public)
{
$this->addDirectory('log', $registry->get('log_path', JPATH_ROOT . '/log'), 'COM_ADMIN_LOG_DIRECTORY');
$this->addDirectory('tmp', $registry->get('tmp_path', JPATH_ROOT . '/tmp'), 'COM_ADMIN_TEMP_DIRECTORY');
Expand Down

0 comments on commit fe048b1

Please sign in to comment.