$POD->setLibOptions('server', 'http://' . $_SERVER['SERVER_NAME']); $POD->setLibOptions('documentIconMaxWidth', '100'); $POD->setLibOptions('documentIconSquare', 'documentIconSquare'); $POD->setLibOptions('documentImageMaxWidth', '530'); $POD->setLibOptions('documentImageResize', 'documentImageResize'); $POD->setLibOptions('peopleIconMaxWidth', '60'); $POD->setLibOptions('peopleIconSquare', 'peopleIconSquare'); $POD->setLibOptions('peopleImageMaxWidth', '300'); $POD->setLibOptions('peopleImageResize', 'peopleImageResize'); // FIX THIS // set other default options!! $error = false; $POD->saveLibOptions(true); if ($POD->success()) { echo "<p>Defaults written to " . $POD->libOptions('etcPath') . '/options.php</p>'; $POD->loadAvailablePods(); foreach ($POD->PODS as $name => $podling) { if (in_array($name, $required_pods)) { $POD->enablePOD($name); } } $message = $POD->writeHTACCESS($installDir . "/.."); if (!$POD->success()) { $error = true; unlink($POD->libOptions('etcPath') . "/options.php"); echo '<p class="error">Could not write to .htaccess file! ' . $POD->error() . "</p>"; } else { $POD->saveLibOptions(true); echo "<p>{$message}</p>"; } } else {