search

Home  >  Q&A  >  body text

Why do I get an error when I enter the index.php page?

           }            // 自动读取配置文件            if (is_dir($path . 'config')) {                $dir = $path . 'config';            } elseif (is_dir($this->configPath . $module)) {                $dir = $this->configPath . $module;            }            $files = isset($dir) ? scandir($dir) : [];            foreach ($files as $file) {                if ('.' . pathinfo($file, PATHINFO_EXTENSION) === $this->configExt) {                    $filename = $dir . DIRECTORY_SEPARATOR . $file;                    $this->config->load($filename, pathinfo($file, PATHINFO_FILENAME));                }            }

RNGRNG2409 days ago1227

reply all(2)I'll reply

  • PHP中文网

    PHP中文网2018-05-02 10:43:55

    Is this output directly without PHP compilation?

    reply
    0
  • PHP中文网

    PHP中文网2018-05-02 10:43:36

    I didn’t understand your registration information

    reply
    0
  • Cancelreply