/
minimus
/
simple-view
Обзор
Документация
Войти
/
minimus
/
simple-view
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
develop
plugin/simple-view.php
41 строка
1 KB
minimus
feat: SV Admin Class
21 июл 2026, 14:27
21 июл 2026, 14:27
32b7aa3
Код
Авторство
О чём код?
<?php /* Plugin Name: Simple View Plugin URI: http://www.simplelib.com/?p=122 Description: Just another image gallery for WordPress. Version: 2.0.1 Author: minimus Author URI: http://blogcoding.ru Text Domain: simple-view */ /* Copyright 2009, minimus (email : minimus@gmail.com) 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 2 of the License, or (at your option) any later version. 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, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ const SV_MAIN_FILE = __FILE__; if (is_admin()) { include_once "sv-admin-class.php"; if (class_exists("SimpleView") && class_exists("SimpleViewAdmin")) { $minimus_simple_view = new SimpleViewAdmin(); } } else { include_once "sv-class.php"; if (class_exists("SimpleView")) { $minimus_simple_view = new SimpleView(); } }