Fixed a bug that files network were not correctly checked in the logstream disk source

This commit is contained in:
Andre Lorbach 2008-09-03 11:32:16 +02:00
parent 83caf3ad74
commit ace4e3c84f

View File

@ -352,6 +352,7 @@ if ( isset($_POST['op']) )
// Take as it is if rootpath! // Take as it is if rootpath!
if ( if (
( ($pos = strpos($content['SourceDiskFileTesting'], "/")) !== FALSE && $pos == 0) || ( ($pos = strpos($content['SourceDiskFileTesting'], "/")) !== FALSE && $pos == 0) ||
( ($pos = strpos($content['SourceDiskFileTesting'], "\\\\")) !== FALSE && $pos == 0) ||
( ($pos = strpos($content['SourceDiskFileTesting'], ":\\")) !== FALSE ) || ( ($pos = strpos($content['SourceDiskFileTesting'], ":\\")) !== FALSE ) ||
( ($pos = strpos($content['SourceDiskFileTesting'], ":/")) !== FALSE ) ( ($pos = strpos($content['SourceDiskFileTesting'], ":/")) !== FALSE )
) )