mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
fix imdb class construct
This commit is contained in:
@@ -57,7 +57,7 @@ v1.0
|
||||
var $port;
|
||||
var $lastResponse = Array ();
|
||||
|
||||
function BrowserEmulator () {
|
||||
function __construct () {
|
||||
$this->resetHeaderLines ();
|
||||
$this->resetPort ();
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
class info_extractor{
|
||||
function info_extractor(){}
|
||||
function __construct(){}
|
||||
|
||||
/** truncate a given string
|
||||
* @method truncate
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user