Changeset 46858 for trunk/src/wp-includes/sodium_compat/lib/namespaced.php
- Timestamp:
- 12/09/2019 04:40:11 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/sodium_compat/lib/namespaced.php
r46586 r46858 1 1 <?php 2 3 require_once dirname(dirname(__FILE__)) . '/autoload.php'; 2 4 3 5 if (PHP_VERSION_ID < 50300) { … … 37 39 // separators with directory separators in the relative class name, append 38 40 // with .php 39 $file = dirname( __DIR__) . '/namespaced/' . str_replace('\\', '/', $relative_class) . '.php';41 $file = dirname(dirname(__FILE__)) . '/namespaced/' . str_replace('\\', '/', $relative_class) . '.php'; 40 42 // if the file exists, require it 41 43 if (file_exists($file)) {
Note: See TracChangeset
for help on using the changeset viewer.