- Timestamp:
- 12/09/2019 04:44:58 PM (5 years ago)
- Location:
- branches/5.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.3
-
branches/5.3/src/wp-includes/sodium_compat/lib/namespaced.php
r44953 r46859 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.