mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-01 14:38:47 +02:00
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
# Conflicts: # core/cmdbsource.class.inc.php # core/log.class.inc.php # test/setup/iTopDesignFormat/iTopDesignFormatTest.php
This commit is contained in:
@@ -254,7 +254,7 @@ class DBBackup
|
||||
return $aRet;
|
||||
}
|
||||
|
||||
protected static function EscapeShellArg($sValue)
|
||||
public static function EscapeShellArg($sValue)
|
||||
{
|
||||
// Note: See comment from the 23-Apr-2004 03:30 in the PHP documentation
|
||||
// It suggests to rely on pctnl_* function instead of using escapeshellargs
|
||||
@@ -461,13 +461,15 @@ EOF;
|
||||
|
||||
|
||||
/**
|
||||
* @see https://dev.mysql.com/doc/refman/5.6/en/encrypted-connection-options.html
|
||||
*
|
||||
* @param Config $oConfig
|
||||
*
|
||||
* @return string TLS arguments for CLI programs such as mysqldump. Empty string if the config does not use TLS.
|
||||
*
|
||||
* @since 2.5.0
|
||||
* @uses \CMDBSource::GetDBVendor() so needs a connection opened !
|
||||
* @uses \CMDBSource::GetDBVersion() so needs a connection opened !
|
||||
*
|
||||
* @since 2.5.0 N°1260
|
||||
* @link https://dev.mysql.com/doc/refman/5.6/en/connection-options.html#encrypted-connection-options "Command Options for Encrypted Connections"
|
||||
*/
|
||||
public static function GetMysqlCliTlsOptions($oConfig)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user