<?php /* Plugin Name: External slugified Thumbnails Plugin URI: http://www.kadimi.com/ Description: External slugified Thumbnails Version: 1.0.0 Author: Nabil Kadimi Author URI: http://kadimi.com License: GPL2 */ // Include Skelet (written by Nabil Kadimi) include dirname(__FILE__) . '/skelet/skelet.php'; // Include options definitions skelet_dir(dirname(__FILE__) . '/data'); // Include main functions include dirname(__FILE__) . '/functions.php';
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 */ /** * @file * Main file of the "PressApps Plugin Framework" * * The file loads the core files if not already done inside another plugin, * then it loads the options defined in the options folder. * * @package pressapps-admin-framework */ /** * Load the framework core if not done inside another plugin */ if (!defined('PAF')) { include dirname(__FILE__) . '/core/core.php'; } /** * Use sample data if $skelet_use_sample_data evaluates to true */ if (K::get_var('skelet_use_sample_data')) { skelet_dir(dirname(__FILE__) . '/sample-data/'); }