mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 05:23:21 +00:00
default path when create a new subviews
This commit is contained in:
@@ -1473,6 +1473,16 @@ class databox extends base implements ThumbnailedElement
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the default subdef path
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getSubdefStorage(){
|
||||
|
||||
return p4string::addEndSlash($this->app['conf']->get(['main', 'storage', 'subdefs'])).$this->get_dbname()."/subdefs/";
|
||||
}
|
||||
|
||||
protected function retrieve_structure()
|
||||
{
|
||||
try {
|
||||
|
Reference in New Issue
Block a user