fix imdb class construct

This commit is contained in:
xiaomlove
2021-01-07 21:57:37 +08:00
parent 86f364af9d
commit 5d68fc2057
8 changed files with 14 additions and 14 deletions

View File

@@ -57,7 +57,7 @@ v1.0
var $port;
var $lastResponse = Array ();
function BrowserEmulator () {
function __construct () {
$this->resetHeaderLines ();
$this->resetPort ();
}

View File

@@ -1,7 +1,7 @@
<?php
class info_extractor{
function info_extractor(){}
function __construct(){}
/** truncate a given string
* @method truncate

View File

@@ -29,6 +29,7 @@ function oldReadConfig ($configname) {
$configname = basename($configname);
$path = './config/'.$configname;
if (!file_exists($path)) {
do_log($path);
die("Error! File <b>".htmlspecialchars($configname)."</b> doesn't exist!</font><br /><font color=blue>Before the setup starts, please ensure that you have properly configured file and directory access permissions. Please see below.</font><br /><br />chmod 777 config/<br />chmod 777 config/".$configname);
}