* 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. * * "PCPIN Chat 6" 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/>. */ /** * GD Version */ define('PCPIN_GD_VERSION', PCPIN_Image::whichGD()); /** * Image check results */ define('PCPIN_IMAGE_CHECK_OK', 0); // Image OK define('PCPIN_IMAGE_CHECK_ERROR_FILE', 1); // File is not an image or file does not exists / not readable define('PCPIN_IMAGE_CHECK_ERROR_MIME', 2); // MIME not allowed define('PCPIN_IMAGE_CHECK_ERROR_WIDTH', 3); // Image width larger than allowed define('PCPIN_IMAGE_CHECK_ERROR_HEIGHT', 4); // Image height larger than allowed define('PCPIN_IMAGE_CHECK_ERROR_FILESIZE', 5); // Image file size larger than allowed