2
0
forked from Wavyzz/dolibarr
This commit is contained in:
Laurent Destailleur
2023-06-30 10:45:58 +02:00
parent 444ab2f357
commit c47348b1e5
7 changed files with 50 additions and 44 deletions

View File

@@ -76,9 +76,10 @@ function convertLink($site, $path)
{
if (substr_compare($path, "//", 0, 2)==0)
return parse_url($site)['scheme'].$path;
elseif (substr_compare($path, "http://", 0, 7)==0 or
substr_compare($path, "https://", 0, 8)==0 or
substr_compare($path, "www.", 0, 4)==0)
elseif (substr_compare($path, "http://", 0, 7)==0
or substr_compare($path, "https://", 0, 8)==0
or substr_compare($path, "www.", 0, 4)==0
)
return $path;
else return $site.'/'.$path;
}

View File

@@ -24,6 +24,7 @@ class Aaa
/**
* do
*
* @return void
*/
public function do()

View File

@@ -5,6 +5,7 @@ $globalbbb = 'globalbbb';
/**
* fbbb
*
* @return string
*/
function fbbb()
@@ -21,6 +22,7 @@ class Bbb
/**
* do
*
* @return void
*/
public function do()

View File

@@ -21,6 +21,7 @@
/**
* Creates an example PDF TEST document using TCPDF
*
* @package com.tecnick.tcpdf
* @abstract TCPDF - Example: Document Encryption / Security
* @author Nicola Asuni

View File

@@ -38,6 +38,7 @@ print 'Files has been created. Check its name from your explorer'."\n";
/**
* Creates an example PDF TEST document using TCPDF
*
* @package com.tecnick.tcpdf
* @abstract TCPDF - Example: CID-0 CJK unembedded font
* @author Nicola Asuni