Skip to content
Permalink
Browse files

Remove check of undefined constant (#556)

  • Loading branch information...
onli committed Feb 16, 2019
1 parent 4c45454 commit ba9c4016972660f26e5f5a1b9503fcb94ea5ce02
Showing with 1 addition and 1 deletion.
  1. +1 −1 include/serendipity_smarty_class.inc.php
@@ -154,7 +154,7 @@ private function setParams()
$this->setConfigDir(array(S9Y_TEMPLATE_USERDEFAULT));
if ( ( !is_dir($this->getCompileDir()) || !is_writable($this->getCompileDir()) ) && IN_installer !== true) {
if ( ( !is_dir($this->getCompileDir()) || !is_writable($this->getCompileDir()) ) && IS_installed === true) {
if(ini_get('display_errors') == 0 || ini_get('display_errors') == 'off') printf(DIRECTORY_WRITE_ERROR, $this->getCompileDir());
trigger_error(sprintf(DIRECTORY_WRITE_ERROR, $this->getCompileDir()), E_USER_ERROR);
}

0 comments on commit ba9c401

Please sign in to comment.
You can’t perform that action at this time.