wakdev / slash-cms

CMS Systems
GNU General Public License v3.0
5 stars 5 forks source link

TODO : Intégration de KCFinder dans CKEditor #28

Closed wakdev closed 11 years ago

wakdev commented 11 years ago

Remplacement de CKFinder par l'outil open source : KCFinder http://kcfinder.sunhater.com

Une intégration "standalone" est déjà en place dans le module sla_medias https://github.com/wakdev/slash-cms/commit/2f2cd9968a93f11820909c0189cdc956b4e5889a

wakdev commented 11 years ago

Intégration terminé : https://github.com/wakdev/slash-cms/commit/958bc1e21e017656c64217c402c839fd476805b3 Mais pas certain de la pertinence du $_SERVER["HTTP_HOST"]; voir ligne 102 : https://github.com/wakdev/slash-cms/blob/958bc1e21e017656c64217c402c839fd476805b3/core/plugins/kcfinder/config.php#L102

Votre avis sur ce point ?

wakdev commented 11 years ago

UP ?

lowki commented 11 years ago

J'ai testé un peu la variable, elle retourne bien le bon host, même si c'est un virtuel. Par contre, faut-il coller /medias directement après? Si slash est installé dans un répertoire plus bas, ça ne fonctionnera pas.

wakdev commented 11 years ago

"Par contre, faut-il coller /medias directement après?" J'ai pas compris ^^'

lowki commented 11 years ago

Si slash est accessible via domain.tld/slashcms/index.php, _sessionPath pointera vers domain.tld/medias.

wakdev commented 11 years ago

Ah bin oui, c'est un problème... Eventuellement, on peux configurer le path dans le fichier de config $site_path = "slashcms/"

lowki commented 11 years ago

C'est à ça que je pensais.