mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
suppress warning if /lang/ folder does not exists
This commit is contained in:
parent
47758f08c2
commit
756e4839db
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ function getLangs($withContents = 0)
|
|||
/* deprecated */
|
||||
function getOldLangs($withContents = 0)
|
||||
{
|
||||
if (!$h = opendir(MTTPATH. 'lang')) return false;
|
||||
if (!$h = @opendir(MTTPATH. 'lang')) return false;
|
||||
$a = array();
|
||||
while(false !== ($file = readdir($h)))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue