diff options
author | xue <> | 2007-08-06 18:58:55 +0000 |
---|---|---|
committer | xue <> | 2007-08-06 18:58:55 +0000 |
commit | edfdfdd1cbf6d597551d4128e7e11d6d92bcdf95 (patch) | |
tree | 9a39721593e768419fb58c8b21e88ff4748bb0ae /framework/Data/SqlMap/Configuration | |
parent | 1031b56f982f973f85cb3e1528f7bcbba662778f (diff) |
fixed #685
Diffstat (limited to 'framework/Data/SqlMap/Configuration')
-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))
|