PHP opendir( ) function problem
<pre><code>$result = 'false';
if( opendir( $this-&gt;OuterTemplateDirPath != false ) ){
   $result = 'true';
}
return $result;
</code></pre>

<p>I have that fxn and outertemplate is equal to <code>$_SERVER['DOCUMENT_ROOT' ] . 'mysite.com/templates/admin/structure/outertemplate/</code>.</p>

<p>but it returns with an error saying:</p>

<pre><code>Warning: opendir(1) [function.opendir]: failed to open dir: No such file or directory in C:\wamp\www\mysite.com\templates\admin\structure\structure.php on line 411
</code></pre>

<p>what seems to be the problem? what should be </p>
