Closed rafaguedes closed 3 years ago
I solve that!
I must to set the variable as string in declaration, like this:
string virtualHostFile = file_get_contents("/etc/apache2/sites-available/000-default.conf"); string newVirtualHostFile = virtualHostFile . "newtext";
I'm getting this error.
[ERROR] Unknown type: concat
var virtualHostFile = file_get_contents("/etc/apache2/sites-available/000-default.conf"); var newVirtualHostFile = virtualHostFile . "newtext";
When i do a var_dump in virtualHostFile im getting this as string.
What am i doing wrong?