X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=admin_images.php;h=443aae964d8fa480fcbc4dc22b93610e26eef1fc;hb=fdde0e963303cc51e36dd76ce300e43db8e888e4;hp=c4647c1cd3f4ed792aa96298b2faac8756210e58;hpb=ca5d68a8ee692972133a14fcf8f9ee137be1e59e;p=wfpl-cms.git 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) {