* Checks the current installation environment. There are optional and mandatory checks.
*
* @param string $baseurl The baseurl of Friendica
- * @param string $phpath Optional path to the PHP binary
+ * @param string $phppath Optional path to the PHP binary
*
* @return bool if the check succeed
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
*/
- public function checkEnvironment($baseurl, $phpath = null)
+ public function checkEnvironment($baseurl, $phppath = null)
{
$returnVal = true;
- if (isset($phpath)) {
- if (!$this->checkPHP($phpath)) {
+ if (isset($phppath)) {
+ if (!$this->checkPHP($phppath)) {
$returnVal = false;
}
}
'$dbpass' => $configCache->get('database', 'password'),
'$dbdata' => $configCache->get('database', 'database'),
- '$phpath' => $configCache->get('config', 'php_path'),
+ '$phppath' => $configCache->get('config', 'php_path'),
'$adminmail' => $configCache->get('config', 'admin_email'),
'$system_url' => $configCache->get('system', 'url'),
// ****************************************************************
'config' => [
- 'php_path' => '{{$phpath|escape:'quotes' nofilter}}',
+ 'php_path' => '{{$phppath|escape:'quotes' nofilter}}',
'admin_email' => '{{$adminmail|escape:'quotes' nofilter}}',
'sitename' => 'Friendica Social Network',
'register_policy' => \Friendica\Module\Register::OPEN,