Permalink
Browse files

See #3 off cmsimple-news.

  • Loading branch information...
davidstutz committed Jan 6, 2018
1 parent 9a19c22 commit 10a6da2e8e4bdbc531d17381c12baa3d05483f24
Showing with 6 additions and 9 deletions.
  1. +6 −9 admin.php
View
@@ -27,19 +27,16 @@
*
* @see <http://www.gnu.org/licenses/>.
*/
/*
* Register the plugin menu items.
*/
if (function_exists('XH_registerStandardPluginMenuItems')) {
XH_registerStandardPluginMenuItems(false);
}
/* Require classes. */
if (!class_exists('Pictures', FALSE)) require_once dirname(__FILE__) . '/pictures.php';
if (isset($pictures) OR isset($_GET['pictures']))
if (function_exists('XH_registerStandardPluginMenuItems'))
{
XH_registerStandardPluginMenuItems(true);
}
if ((function_exists('XH_wantsPluginAdministration') AND XH_wantsPluginAdministration('pictures')) OR isset($pictures))
{
/* Make CMSimple global saccessable. */
global $sn;

0 comments on commit 10a6da2

Please sign in to comment.