I want to get the contents of my install.sql file that sits one directory up but when I use file_get_contents("../install.sql") it returns false.
How can I fix it?
I have also tried to use fopen and fread.
<?php
 // Get the install SQL Files
 if (@$install_sql = file_get_contents("../install.sql")){
    // Prepare the statement to install
    $install_stmt = $conn_test->prepare($install_sql);
    // Execute the install
    $install_stmt->execute();
 } else {
    // This is where the code ends up
 }
?>
Code shortened 
Full code available here
For people suggesting to remove '@' to show errors:
Warning:
file_get_contents(../install.sql): failed to open stream: No such file or directory in
/Users/yigitkerem/Code/SkyfallenSecureForms/Configuration/install.php
on line
55
For me it wasn't making any more sense, that was why I didn't include it, but here we go in case there is something that I don't know.
