Parameters
$folder - The folder name.
$fileName - The file name.
Returns
The Debug file spec.
Syntax
PHP |
public static function GetDebugFileName(string $folder, string $fileName)
|
Gets the Debug file name. (E)
Remarks
This function takes a folder name and a file name. It makes sure the
folder exists and returns the text "folder/fileName" with the extension
"txt".
Example
PHP |
$webCommonPath = "c:/inetpub/wwwroot/LJCPHPCommon";
require_once "$webCommonPath/LJCCommonLib.php";
// $debugFileSpec = "Debug\SourceFile.txt"
$debugFileSpec = LJCCommon::GetDebugFileName("Debug", "SourceFile.php");
|
Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.