Feng Forum

Other Topics => Development => : Captain_FLAM July 15, 2011, 09:16:31 AM

: For the portability of the website (local / server / other place)
: Captain_FLAM July 15, 2011, 09:16:31 AM
in -> cache\autoloader.php

change all direct paths on each lines :

$GLOBALS['autoloader_classes']['ACCESSCONTROLLER'] = '/home/www/application/controllers/AccessController.class.php';

by :

   $GLOBALS['autoloader_classes']['ACCESSCONTROLLER'] = ROOT . '/application/controllers/AccessController.class.php';
: Re: For the portability of the website (local / server / other place)
: Captain_FLAM July 19, 2011, 06:50:44 AM
Nobody (no dev) is interested ?

I post many code, but i think this forum is DEAD, isn't it ?
: Re: For the portability of the website (local / server / other place)
: Henry July 28, 2011, 02:07:16 PM
Thanks for your post. You can also delete the autoloader.php. The application create a new file with the actual path.

: Re: For the portability of the website (local / server / other place)
: franponce87 August 12, 2011, 09:16:53 PM
Hi Captain, thanks for your contribution.
The Forum is not dead.. but it is not as alive as we all here would like it to be.
We do know it is hard to develop plugins nowadays with current Feng Office core, but this will change pretty soon when the next version is out.

Hang in there, and keep up your good work!

Best regards,
Francisco
: Re: For the portability of the website (local / server / other place)
: bleeuwen November 12, 2011, 12:14:04 PM
Hi

I copied a FengOffice installation to my local PC, and got errors connected with the $Globals.

deleting autoloader.php works.

After starting the website, a new file with the name autoloader.php is created

Thanks
: Re: For the portability of the website (local / server / other place)
: donaldjack59 February 03, 2012, 02:56:11 PM
$GLOBALS['autoloader_classes']['ACCESSCONTROLLER'] = '/home/www/application/controllers/AccessController.class.php';

by :

   $GLOBALS['autoloader_classes']['ACCESSCONTROLLER'] = ROOT . '/application/controllers/AccessController.class.php';