diff --git a/htdocs/core/class/smtps.class.php b/htdocs/core/class/smtps.class.php index 9fb119fa9e6..9e6250f9f8d 100644 --- a/htdocs/core/class/smtps.class.php +++ b/htdocs/core/class/smtps.class.php @@ -221,7 +221,7 @@ class SMTPs var $_debug = false; - // DOL_CHANGE LDR + // @CHANGE LDR var $log = ''; var $_errorsTo = ''; var $_deliveryReceipt = 0; @@ -361,7 +361,7 @@ class SMTPs $host=preg_replace('@tcp://@i','',$host); // Remove prefix $host=preg_replace('@ssl://@i','',$host); // Remove prefix - // DOL_CHANGE LDR + // @CHANGE LDR include_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php'; if ( (! is_ip($host)) && ((gethostbyname($host)) == $host)) @@ -393,7 +393,7 @@ class SMTPs // This connection attempt failed. else { - // DOL_CHANGE LDR + // @CHANGE LDR if (empty($this->errstr)) $this->errstr='Failed to connect with fsockopen host='.$this->getHost().' port='.$this->getPort(); $this->_setErr($this->errno, $this->errstr); $_retVal = false; @@ -1093,7 +1093,7 @@ class SMTPs { foreach ( $this->_msgRecipients[$_host][$_which] as $_addr => $_realName ) { - if ( $_realName ) // DOL_CHANGE LDR + if ( $_realName ) // @CHANGE LDR { $_realName = '"' . $_realName . '"'; $_RCPT_list[] = $_realName . ' <' . $_addr . '@' . $_host . '>'; @@ -1270,7 +1270,7 @@ class SMTPs $_header .= $this->getPriority(); - // DOL_CHANGE LDR + // @CHANGE LDR if ( $this->getDeliveryReceipt() ) $_header .= 'Disposition-Notification-To: '.$this->getFrom('addr') . "\r\n"; if ( $this->getErrorsTo() ) @@ -1414,7 +1414,7 @@ class SMTPs $content .= "\r\n" . $_data['data'] . "\r\n\r\n"; } } - // DOL_CHANGE LDR + // @CHANGE LDR else if ( $type == 'image' ) { // loop through all images @@ -1521,7 +1521,7 @@ class SMTPs } - // DOL_CHANGE LDR + // @CHANGE LDR /** * Image attachments are added to the content array as sub-arrays, @@ -1546,7 +1546,7 @@ class SMTPs $this->_msgContent['image'][$strImageName]['md5'] = dol_hash($strContent, 3); } } - // END DOL_CHANGE LDR + // END @CHANGE LDR /** @@ -1740,7 +1740,7 @@ class SMTPs */ function socket_send_str( $_strSend, $_returnCode = null, $CRLF = "\r\n" ) { - if ($this->_debug) $this->log.=$_strSend; // DOL_CHANGE LDR for log + if ($this->_debug) $this->log.=$_strSend; // @CHANGE LDR for log fputs($this->socket, $_strSend . $CRLF); if ($this->_debug) $this->log.=' ('.$_returnCode.')' . $CRLF; diff --git a/htdocs/core/lib/barcode.lib.php b/htdocs/core/lib/barcode.lib.php index 6fa6b55151e..b0849bb913e 100644 --- a/htdocs/core/lib/barcode.lib.php +++ b/htdocs/core/lib/barcode.lib.php @@ -37,7 +37,7 @@ $text_color=Array(0,0,0); /* ******************************************************************** */ if (defined('DOL_DEFAULT_TTF_BOLD')) $font_loc=constant('DOL_DEFAULT_TTF_BOLD'); // Automatic-Detection of Font if running Windows -// DOL_CHANGE LDR +// @CHANGE LDR if (isset($_SERVER['WINDIR']) && @file_exists($_SERVER['WINDIR'])) $font_loc=$_SERVER['WINDIR'].'\Fonts\arialbd.ttf'; if (empty($font_loc)) die('DOL_DEFAULT_TTF_BOLD must de defined with full path to a TTF font.'); diff --git a/htdocs/includes/restler/framework/Luracast/Restler/AutoLoader.php b/htdocs/includes/restler/framework/Luracast/Restler/AutoLoader.php index 462cbcd4cc4..20a33ee3b70 100644 --- a/htdocs/includes/restler/framework/Luracast/Restler/AutoLoader.php +++ b/htdocs/includes/restler/framework/Luracast/Restler/AutoLoader.php @@ -263,7 +263,7 @@ class AutoLoader * @return bool false unless className now exists */ private function loadLastResort($className, $loader = null) { - // DOL_CHANGE LDR Add protection to avoid conflict with other autoloader + // @CHANGE LDR Add protection to avoid conflict with other autoloader /*print 'Try to load '.$className."\n"; if (in_array($className, array('Google_Client'))) { @@ -307,7 +307,7 @@ class AutoLoader */ private function alias($className, $currentClass) { - // DOL_CHANGE LDR + // @CHANGE LDR if ($className == 'Luracast\Restler\string') return; if ($className == 'Luracast\Restler\mixed') return; diff --git a/htdocs/includes/restler/framework/Luracast/Restler/explorer/index.html b/htdocs/includes/restler/framework/Luracast/Restler/explorer/index.html index c9b9fbff77b..0d73f19447e 100644 --- a/htdocs/includes/restler/framework/Luracast/Restler/explorer/index.html +++ b/htdocs/includes/restler/framework/Luracast/Restler/explorer/index.html @@ -2,7 +2,7 @@ Api Explorer - + @@ -59,7 +59,7 @@ var key = $('#input_apiKey')[0].value; log("key: " + key); if(key && key.trim() != "") { - /* DOL_CHANGE LDR We set DOLAPIKEY into header */ + /* @CHANGE LDR We set DOLAPIKEY into header */ log("added key " + key); /* Disabled for security reason. We keep only param in header @@ -87,7 +87,7 @@
-