Actions

J3.x

Difference between revisions of "Open basedir in effect in template manager"

From Joomla! Documentation

(created)
 
 
Line 8: Line 8:
 
with
 
with
 
<code>if (is_dir($dir . $value))</code>
 
<code>if (is_dir($dir . $value))</code>
 +
<noinclude>
 +
[[Category:Version 3.2.0 FAQ]]
 +
</noinclude>

Latest revision as of 23:21, 9 December 2013

Getting an error trying to use the template manager?

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect in administrator/components/com_templates/models/template.php on line 111

Replace if (is_dir($dir . $value . '/'))

with if (is_dir($dir . $value))