From: <chr...@us...> - 2018-04-29 12:53:45
|
Revision: 13349 http://sourceforge.net/p/xoops/svn/13349 Author: chronolabscoop Date: 2018-04-29 12:53:33 +0000 (Sun, 29 Apr 2018) Log Message: ----------- Minor Bug Fix - Installation - Restricted Area Die(); Message Modified Paths: -------------- *.xoops.org (Subdomain APIs & Sites)/places.xoops.org/include/common.php Modified: *.xoops.org (Subdomain APIs & Sites)/places.xoops.org/include/common.php =================================================================== --- *.xoops.org (Subdomain APIs & Sites)/places.xoops.org/include/common.php 2018-04-24 18:00:48 UTC (rev 13348) +++ *.xoops.org (Subdomain APIs & Sites)/places.xoops.org/include/common.php 2018-04-29 12:53:33 UTC (rev 13349) @@ -13,7 +13,8 @@ * @license GNU GPL 2 (http://www.gnu.org/licenses/gpl-2.0.html) * @package kernel */ -defined('API_MAINFILE_INCLUDED') || die('Restricted access'); +if (!defined('API_MAINFILE_INCLUDED')) + return false; /** * YOU SHOULD NEVER USE THE FOLLOWING TO CONSTANTS, THEY WILL BE REMOVED |