realpath
This commit is contained in:
parent
d1efc2ceff
commit
2e82098972
@ -47,8 +47,8 @@ function changePermission(){
|
||||
|
||||
require_once realpath(dirname(__FILE__)).'/config.php';
|
||||
|
||||
if (!file_exists(realpath(dirname(__FILE__)).'/../html/data'))
|
||||
passthru('ln -s '.DOC_WEB_LOCAL.' '.realpath(dirname(__FILE__)).'/../html/data');
|
||||
if (!file_exists(realpath(dirname(__FILE__).'/../html/data')))
|
||||
passthru('ln -vs '.DOC_WEB_LOCAL.' '.realpath(dirname(__FILE__).'/../html/data'));
|
||||
}
|
||||
|
||||
function writeConfig()
|
||||
|
Loading…
Reference in New Issue
Block a user