Server IP : 172.67.158.161 / Your IP : 3.149.237.89 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/thread-self/root/home/giankuin/thietke365.net/wp-content/plugins/loco-translate/src/fs/ |
Upload File : |
<?php /** * */ class Loco_fs_Directory extends Loco_fs_File { /** * Recursive flag for internal use * @var bool */ private $r = false; /** * {@inheritDoc} */ public function isDirectory(){ return true; } /** * Set recursive flag for use when traversing directory trees * @param bool * @return Loco_fs_Directory */ public function setRecursive( $bool ){ $this->r = (bool) $bool; return $this; } /** * @return bool */ public function isRecursive(){ return $this->r; } /** * Create this directory for real. * * @throws Loco_error_WriteException * @return Loco_fs_Directory */ public function mkdir(){ $this->getWriteContext()->mkdir(); return $this; } }