debugging "No Script access allowed"! weird |
(11-10-2020, 12:44 PM)InsiteFX Wrote: if you changed the default CI 4 folders like all of them being in the root then you will need to hi based on the below could you help point out exactly what you mean? tauenjic@c01 [~/code.tauenji.com/install]# pwd /home/tauenjic/code.tauenji.com/install tauenjic@c01 [~/code.tauenji.com/install]# ls README.md builds ci-news composer.lock env images license.txt public readme.rst spark.save tests writable app cgi-bin composer.json contributing.md error_log index.php phpunit.xml.dist public.zip spark system vendor tauenjic@c01 [~/code.tauenji.com/install]# |||||||||||||| |||||||||||||||||||||| VVVVVVVVVVVVVV -THIS IS THE SPARK FILE- VVVVVVVVVVVVVVVVVVVVVV // Path to the front controller define('FCPATH', __DIR__ . '/public' . DIRECTORY_SEPARATOR); // Load our paths config file require 'app/Config/config.php'; // ^^^ Change this line if you move your application folder $paths = new Config\Paths(); // Ensure the current directory is pointing to the front controller's directory chdir(FCPATH); $app = require rtrim($paths->systemDirectory, '/ ') . '/bootstrap.php'; // Grab our Console $console = new \CodeIgniter\CLI\Console($app); // We want errors to be shown when using it from the CLI. |
Welcome Guest, Not a member yet? Register Sign In |