diff options
Diffstat (limited to 'framework/Data/SqlMap/Configuration/TSqlMapXmlConfiguration.php')
-rw-r--r-- | framework/Data/SqlMap/Configuration/TSqlMapXmlConfiguration.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Data/SqlMap/Configuration/TSqlMapXmlConfiguration.php b/framework/Data/SqlMap/Configuration/TSqlMapXmlConfiguration.php index b950a194..74ae2a90 100644 --- a/framework/Data/SqlMap/Configuration/TSqlMapXmlConfiguration.php +++ b/framework/Data/SqlMap/Configuration/TSqlMapXmlConfiguration.php @@ -72,7 +72,7 @@ abstract class TSqlMapXmlConfigBuilder protected function getAbsoluteFilePath($basefile,$resource)
{
$basedir = dirname($basefile);
- $file = realpath($basedir.'/'.$resource);
+ $file = realpath($basedir.DIRECTORY_SEPARATOR.$resource);
if(!is_string($file) || !is_file($file))
$file = realpath($resource);
if(is_string($file) && is_file($file))
|