Warning: Table './drupal_fandt_old/accesslog' is marked as crashed and last (automatic?) repair failed query: SELECT uid, timestamp FROM accesslog WHERE (path = 'node/140' OR uid > 0) AND sid = 'a086dc182eb7a1aae739bf859450fb2c' ORDER BY timestamp DESC LIMIT 0, 1 in /var/www/akishige/fandt/includes/database.mysqli.inc on line 128
Drupal 7 で files ディレクトリーへのパスを取得する | FOREST & trees

Drupal 7 で files ディレクトリーへのパスを取得する

プログラム的に files ディレクトリーへのパスを取得するには、以下のようにします。

  • パブリックファイル

    dsm(variable_get('file_public_path', NULL));
  • プライベートファイル

    dsm(variable_get('file_private_path', NULL));
  • とっても簡単なことですけど、api.drupal.org を調べてもすぐには出てこなかったので、覚え書き。

    Comments

    good post

    instagram for pc

    instagram for pc

    Application

    good

    Nice post Applock apk is the

    Nice post Applock apk is the best application for locking the screen and Applications in Your android mobils.1. FingerPrint App Lock2. Gesture  App Lock3. Applock APk4. App Lock APK Xcode for windows is an application available for Mac OS. There are a lot of ways to use the Xcode on your Windows operating system.

    Post new comment

    The content of this field is kept private and will not be shown publicly.
    • Web page addresses and e-mail addresses turn into links automatically.
    • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
    • Lines and paragraphs break automatically.

    More information about formatting options

    By submitting this form, you accept the Mollom privacy policy.