Revert setCoversConstant function

This commit is contained in:
DariusIII
2018-02-09 15:40:03 +01:00
parent 1984f9f8cc
commit 966304fff2
+4 -1
View File
@@ -366,6 +366,9 @@ class Utility
return $string === '' ? false : $string;
}
/**
* @param $path
*/
public static function setCoversConstant($path)
{
if (! \defined('NN_COVERS')) {
@@ -382,7 +385,7 @@ class Utility
case empty($path): // Default to resources location.
default:
\define('NN_COVERS', NN_RES.'covers'.DS);
}``
}
}
}