Changeset 19586
- Timestamp:
- 06/26/09 10:44:43 (8 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
components/dependency_injection/trunk/lib/sfServiceContainerLoaderFileIni.php
r16840 r19586 30 30 foreach ($files as $file) 31 31 { 32 if (false === $result = parse_ini_file($this->getAbsolutePath($file), true)) 32 $path = $this->getAbsolutePath($file); 33 if (!file_exists($path)) 34 { 35 throw new InvalidArgumentException(sprintf('The %s file does not exist.', $file)); 36 } 37 38 if (false === $result = parse_ini_file($path, true)) 33 39 { 34 40 throw new InvalidArgumentException(sprintf('The %s file is not valid.', $file));

