centurion-project / Centurion

Centurion is an open-source CMS delivered as a flexible PHP5 Content Management Framework
http://www.centurion-project.org
197 stars 51 forks source link

Fix issue #70 : Error when removing status folder #77

Closed mantoine closed 12 years ago

mantoine commented 12 years ago
lchenay commented 12 years ago

Thanks mantoine for this fix. I will merge it, but before:

mantoine commented 12 years ago

Hi, there is no problem for your change; Indeed, i made a second foreach to manage file, and * selector and not only folder. maybe there is a best way to do that, i do this change this morning.

Le 03/05/2012 14:00, Laurent a écrit :

Thanks mantoine for this fix. I will merge it, but before:

  • DIR can not be used: its a 5.3 constant that does not exists in 5.2. I will change it to dirname(FILE)
  • why have you make a second foreach? is it because you want to manage the "*"?

Reply to this email directly or view it on GitHub: https://github.com/centurion-project/Centurion/pull/77#issuecomment-5485979

Cordialement,

Michael Antoine Ingénieur Développement et Architecte junior Nouvelles Technologies