X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl-cms.git;a=blobdiff_plain;f=admin_images.php;h=443aae964d8fa480fcbc4dc22b93610e26eef1fc;hp=c4647c1cd3f4ed792aa96298b2faac8756210e58;hb=d8a3c68fe7131555725440aabc9f82e53520b5dc;hpb=35a09e30f8e03af23fbd9078e628ba885b0be626 diff --git a/admin_images.php b/admin_images.php index c4647c1..443aae9 100644 --- a/admin_images.php +++ b/admin_images.php @@ -4,8 +4,8 @@ define('ADMIN_IMAGES_DB_FIELDS', 'image,name,caption'); -require_once(DOCROOT . 'inc/wfpl/format.php'); -require_once(DOCROOT . 'inc/wfpl/upload.php'); +require_once(__DIR__.'/'.'inc/wfpl/format.php'); +require_once(__DIR__.'/'.'inc/wfpl/upload.php'); # example: 200x300 function format_width_height($str) {