|
|
|
@ -369,6 +369,10 @@ PHP_FUNCTION(readline_read_history) |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
if (php_check_open_basedir(arg TSRMLS_CC)) { |
|
|
|
RETURN_FALSE; |
|
|
|
} |
|
|
|
|
|
|
|
/* XXX from & to NYI */ |
|
|
|
if (read_history(arg)) { |
|
|
|
RETURN_FALSE; |
|
|
|
@ -389,6 +393,10 @@ PHP_FUNCTION(readline_write_history) |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
if (php_check_open_basedir(arg TSRMLS_CC)) { |
|
|
|
RETURN_FALSE; |
|
|
|
} |
|
|
|
|
|
|
|
if (write_history(arg)) { |
|
|
|
RETURN_FALSE; |
|
|
|
} else { |
|
|
|
|