Commit 242ef70a authored by Zot's avatar Zot Committed by Mario
Browse files

use absolute namespace

parent 755b7516
......@@ -411,7 +411,8 @@ class Comanche {
}
$clsname = ucfirst($name);
$nsname = "Zotlabs\\Widget\\" . $clsname;
$nsname = "\\Zotlabs\\Widget\\" . $clsname;
if(file_exists('Zotlabs/SiteWidget/' . $clsname . '.php'))
require_once('Zotlabs/SiteWidget/' . $clsname . '.php');
elseif(file_exists('Zotlabs/Widget/' . $clsname . '.php'))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment