source: extensions/reset_level/main.inc.php

Last change on this file was 32919, checked in by ddtddt, 15 months ago

[reset_level] check php8

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 1.9 KB
RevLine 
[9752]1<?php
2/*
3Plugin Name: reset level
4Version: auto
5Description: reset level
6Plugin URI: http://piwigo.org/ext/extension_view.php?eid=517
7Author: ddtddt
[31521]8Author URI: http://temmii.com/piwigo/
[9752]9*/
10
[31521]11// +-----------------------------------------------------------------------+
[32333]12// | reset level plugin for piwigo by TEMMII                               |
[31521]13// +-----------------------------------------------------------------------+
[32919]14// | Copyright(C) 2011-2023 ddtddt               http://temmii.com/piwigo/ |
[31521]15// +-----------------------------------------------------------------------+
16// | This program is free software; you can redistribute it and/or modify  |
17// | it under the terms of the GNU General Public License as published by  |
18// | the Free Software Foundation                                          |
19// |                                                                       |
20// | This program is distributed in the hope that it will be useful, but   |
21// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
22// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
23// | General Public License for more details.                              |
24// |                                                                       |
25// | You should have received a copy of the GNU General Public License     |
26// | along with this program; if not, write to the Free Software           |
27// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
28// | USA.                                                                  |
29// +-----------------------------------------------------------------------+
30
[9752]31if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
32
33global $prefixeTable;
34
35define('DELLE_DIR' , basename(dirname(__FILE__)));
36define('DELLE_PATH' , PHPWG_PLUGINS_PATH . DELLE_DIR . '/');
37
[31521]38// Plugin for admin
39if (script_basename() == 'admin') {
40    include_once(dirname(__FILE__) . '/initadmin.php');
[9752]41}
[31521]42
[9752]43?>
Note: See TracBrowser for help on using the repository browser.