Changeset 207 for trunk/trax/vendor/trax
- Timestamp:
- 05/28/06 10:35:47 (6 years ago)
- Location:
- trunk/trax/vendor/trax/action_view/helpers
- Files:
-
- 2 modified
-
asset_tag_helper.php (modified) (1 diff)
-
url_helper.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/trax/vendor/trax/action_view/helpers/asset_tag_helper.php
r201 r207 81 81 } 82 82 83 // If T RAX_URL_PREFIXnon-null, prefix it to path83 // If Trax::$url_prefix non-null, prefix it to path 84 84 if(!is_null(Trax::$url_prefix)) { 85 85 $prefix = Trax::$url_prefix; -
trunk/trax/vendor/trax/action_view/helpers/url_helper.php
r201 r207 233 233 $url_base = "http://".$url_base; 234 234 } 235 // Insert value of TRAX_URL_PREFIX (must start with /) 236 if(!is_null(TRAX_URL_PREFIX)) { 237 $url_base .= TRAX_URL_PREFIX; 235 // Insert value of Trax::$url_prefix 236 if(!is_null(Trax::$url_prefix)) { 237 $prefix = Trax::$url_prefix; 238 if($prefix{0} != "/") { 239 $prefix = "/$prefix"; 240 } 241 $url_base .= $prefix; 238 242 } 239 243
