• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need help with Test

#8
(08-29-2018, 12:14 AM)puschie Wrote: have an similar problem when i dont set the correct working directory ( which has to be the project directory ). But dont know how to set it via cli, sry.

Working directory means folder where you work.

Code:
C:\>cd [CodeIgniterRoot]
C:\CodeIgniterRoot>"C:\PHP Server\7.2.3_TS_64\php.exe showcwd.php
That will set working directory to C:\CodeIgniterRoot

Supposed showcwd.php

PHP Code:
<?php
echo getcwd(); 
Will show 'C:\CodeIgniterRoot'

I also create _bootstrapshow.php which like _bootstrap, but echoing every defined constant to verify the path. It shows correct path, but it can't recognize namespace CodeIgniter\Test;
Reply


Messages In This Thread
Need help with Test - by anthos1984 - 08-11-2018, 09:07 AM
RE: Need help with Test - by anthos1984 - 08-27-2018, 01:30 AM
RE: Need help with Test - by ciadmin - 08-27-2018, 06:33 AM
RE: Need help with Test - by anthos1984 - 08-27-2018, 10:22 PM
RE: Need help with Test - by ciadmin - 08-28-2018, 12:04 AM
RE: Need help with Test - by anthos1984 - 08-28-2018, 07:54 PM
RE: Need help with Test - by puschie - 08-29-2018, 12:14 AM
RE: Need help with Test - by anthos1984 - 08-29-2018, 04:23 AM
RE: Need help with Test - by anthos1984 - 09-04-2018, 10:56 PM
RE: Need help with Test - by puschie - 09-05-2018, 02:12 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.