![]() |
Check folder - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Check folder (/showthread.php?tid=30415) |
Check folder - El Forum - 05-13-2010 [eluser]my9006ci[/eluser] hi, i want detect the folder in Code: http://localhost/codeigniter/themes/folder I want to make my own library, like this Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); what should I use as a helper? whether the file helper, or path helper then how to use it many thanks... Check folder - El Forum - 05-14-2010 [eluser]WanWizard[/eluser] To check if a directory exists, a simple Code: if ( is_dir($my_directory) ) Check folder - El Forum - 05-14-2010 [eluser]my9006ci[/eluser] [quote author="WanWizard" date="1273841564"]To check if a directory exists, a simple Code: if ( is_dir($my_directory) ) @WanWizard : thanks ... |