XF 2.0 library/config.php

Nirjonadda

Well-known member
Licensed customer
About /library/config.php are no more using? If so its safe to delete the files? I think no using in src/config.php file?

W7QSYlt4RjKmRwUMQeSBIg.png
 
library/config.php isn't used anymore and none of the code within library is used. The main config is now in src/config.php and all of the code is in src.
 
Yep, they're pretty much unusable. Though it would of course be recommended to archive them somewhere, at least, in case you need anything in the future.
 
If XF 2 no more used library folder then why still XF2 download have this folder?
It's really just to prevent the original directory from being removed accidentally before the upgrade.

Who said that the library folder is not used?

The config.php file in that directory isno longer used, but the folder is still used;).
The library folder is not used in XF2.
 
Sorry
where I can find config.php ?
src folder don't exist in my install
help!
If you're using XF 2, the config file is in the src folder. If not for you, then something went wrong with your upload. If you're using 1x, then it's in the library folder.
 
Well
In my server this src folder don't exist. [I'm back to this install]
I paste php in library/config

$config['enableMail'] = true;
$config['enableMailQueue'] = true;
$config['enableListeners'] = true;
$config['enableTemplateModificationCallbacks'] = true;
$config['enableGzip'] = true;
$config['enableContentLength'] = true;
$config['enableTfa'] = false;
$config['enableLivePayments'] = true;
$config['enableClickjackingProtection'] = true;
$config['enableReverseTabnabbingProtection'] = true;
With this I login again

Thank you
 
Back
Top Bottom