mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 21:27:25 +02:00
Notice removal
This commit is contained in:
@@ -1681,6 +1681,8 @@ class e_db_mysql
|
|||||||
protected function loadTableDef($defFile, $tableName)
|
protected function loadTableDef($defFile, $tableName)
|
||||||
{
|
{
|
||||||
$result = FALSE;
|
$result = FALSE;
|
||||||
|
if (is_readable($defFile))
|
||||||
|
{
|
||||||
// Read the file using the array handler routines
|
// Read the file using the array handler routines
|
||||||
// File structure is a nested array - first level is table name, second level is either FALSE (for do nothing) or array(_FIELD_DEFS => array(), _NOTNULL => array())
|
// File structure is a nested array - first level is table name, second level is either FALSE (for do nothing) or array(_FIELD_DEFS => array(), _NOTNULL => array())
|
||||||
$temp = file_get_contents($defFile);
|
$temp = file_get_contents($defFile);
|
||||||
@@ -1702,6 +1704,7 @@ class e_db_mysql
|
|||||||
$result = TRUE;
|
$result = TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (!$result)
|
if (!$result)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user