$f3 = require('../f3app/lib/base.php');
500 Internal Server Error
Fatal error: require(): Failed opening required 'tmp/1sujycyyvubql.24gewczh0sdco.php' (include_path='.:/usr/share/php:/usr/share/pear') [f3app/lib/base.php:2682]
$f3=require("../f3app/lib/base.php");
$f3->mset(array(
"UI" => "app/view/;app/plugin/",
"ESCAPE" => false,
"LOGS" => "log/",
"TEMP" => "tmp/", // this is not working as sandbox function looking view in f3app tmp folder but I have created tmp and log folder inside newapp directory.
echo getcwd(); // path 1
$f3 = require('../f3app/lib/base.php');
echo getcwd(); // path 2
$homedir = dirname(__FILE__) . "/";
echo getcwd(); // path 1, /var/www/html/main folder/newapp
#Initialize core
$f3=require("../f3app/lib/base.php");
echo "<br>";
echo getcwd();//path 2, /var/www/html/
main folder/newapp
exit;
$f3->mset(array(
"UI" => "app/view/;app/plugin/",
"ESCAPE" => false,
"LOGS" => "log/",
"TEMP" => "tmp/",
$f3->set('CACHE', true);
$f3->mset(array(
"UI" => "app/view/;app/plugin/",
"ESCAPE" => false,
"LOGS" => "/log/",
"TEMP" => "/tmp/",
"CACHE" => true,