If the file is included for the second time, require_once will return true instead of the files contents. Fix that by using require.