-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Bianka Martinovic
committed
Oct 23, 2013
1 parent
4983143
commit 2638896
Showing
10 changed files
with
236 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,43 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of an ADDON for use with Black Cat CMS Core. | ||
* This ADDON is released under the GNU GPL. | ||
* Additional license terms can be seen in the info.php of this module. | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 3 of the License, or (at | ||
* your option) any later version. | ||
* | ||
* @module menu-link | ||
* @author WebsiteBaker Project, LEPTON Project | ||
* @copyright 2004-2010, WebsiteBaker Project | ||
* @copyright 2010-2011, LEPTON Project | ||
* @link http://www.LEPTON-cms.org | ||
* @license http://www.gnu.org/licenses/gpl.html | ||
* @license_terms please see info.php of this module | ||
* This program is distributed in the hope that it will be useful, but | ||
* WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
* General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
* | ||
* @author Website Baker Project, LEPTON Project, Black Cat Development | ||
* @copyright 2004-2010, Website Baker Project | ||
* @copyright 2011-2012, LEPTON Project | ||
* @copyright 2013, Black Cat Development | ||
* @link http://blackcat-cms.org | ||
* @license http://www.gnu.org/licenses/gpl.html | ||
* @category CAT_Modules | ||
* @package menu_link | ||
* | ||
*/ | ||
|
||
// include class.secure.php to protect this file and the whole CMS! | ||
if (defined('CAT_PATH')) { | ||
include(CAT_PATH.'/framework/class.secure.php'); | ||
if (defined('CAT_PATH')) { | ||
include(CAT_PATH.'/framework/class.secure.php'); | ||
} else { | ||
$root = "../"; | ||
$level = 1; | ||
while (($level < 10) && (!file_exists($root.'/framework/class.secure.php'))) { | ||
$root .= "../"; | ||
$level += 1; | ||
} | ||
if (file_exists($root.'/framework/class.secure.php')) { | ||
include($root.'/framework/class.secure.php'); | ||
if (file_exists($root.'/framework/class.secure.php')) { | ||
include($root.'/framework/class.secure.php'); | ||
} else { | ||
trigger_error(sprintf("[ <b>%s</b> ] Can't include class.secure.php!", $_SERVER['SCRIPT_NAME']), E_USER_ERROR); | ||
} | ||
} | ||
// end include class.secure.php | ||
|
||
|
||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.