Codiad/Codiad — pull request #351 by daviddyess (2013-04-28 14:30:32+00:00)
Title: User directory (Apache) fix, Undefined Constant 'DATA' fix (PHP Strict)

Changed $_SERVER['DOCUMENT_ROOT'] to use realpath() from the $path variable. BASE_PATH now just uses $rel (defined from $path).

Added checks for DATA and resulting $plugins variable in index.php to prevent undefined constant DATA notice.