Changeset 1031 for trunk/wifidog-auth/wifidog/include/common.php
- Timestamp:
- 05/10/06 14:56:02 (7 years ago)
- Files:
-
- 1 modified
-
trunk/wifidog-auth/wifidog/include/common.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wifidog-auth/wifidog/include/common.php
r1018 r1031 36 36 /** 37 37 * @package WiFiDogAuthServer 38 * @author Benoit Gr egoire <bock@step.polymtl.ca>39 * @copyright 2004-2006 Benoit Gr egoire, Technologies Coeus inc.38 * @author Benoit Grégoire <bock@step.polymtl.ca> 39 * @copyright 2004-2006 Benoit Grégoire, Technologies Coeus inc. 40 40 * @version Subversion $Id$ 41 41 * @link http://www.wifidog.org/ … … 180 180 } 181 181 182 /** Get the url from the local content_specific folder if the file exists, and from the default content folder otherwise */183 function find_local_content_url($filename) {184 //echo "find_local_content_url(): Looking for: ".NODE_CONTENT_PHP_RELATIVE_PATH.$filename."<br>\n";185 if (is_file(NODE_CONTENT_PHP_RELATIVE_PATH.$filename)) {186 $retval = NODE_CONTENT_URL.$filename;187 }188 else {189 $retval = DEFAULT_CONTENT_URL.$filename;190 }191 //echo "find_local_content_url(): Returned: $retval<br>\n";192 return $retval;193 }194 195 182 /** Return a 32 byte guid valid for database use */ 196 183 function get_guid() {
