mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 23:43:12 +00:00
add getConnexionFile methode
This commit is contained in:
@@ -90,7 +90,7 @@ class Application implements Specification
|
|||||||
return new \SplFileObject($this->getConfigurationPathName());
|
return new \SplFileObject($this->getConfigurationPathName());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the main configuration file
|
* Return the main configuration file
|
||||||
*
|
*
|
||||||
* @return \SplFileObject
|
* @return \SplFileObject
|
||||||
@@ -100,4 +100,14 @@ class Application implements Specification
|
|||||||
return new \SplFileObject(__DIR__ . '/../../../../../config/service.yml');
|
return new \SplFileObject(__DIR__ . '/../../../../../config/service.yml');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return the main configuration file
|
||||||
|
*
|
||||||
|
* @return \SplFileObject
|
||||||
|
*/
|
||||||
|
public function getConnexionFile()
|
||||||
|
{
|
||||||
|
return new \SplFileObject(__DIR__ . '/../../../../../config/connexions.yml');
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user