CakePHP Cookbook 2.x
*nix) might look something like this: $ chown -R www-data app/tmp If for some reason CakePHP can’t write to that directory, you’ll see warnings and uncaught exceptions that cache data cannot be written. random as you can make it: /** * A random string used in security hashing methods. */ Configure::write('Security.salt', 'pl345e-P45s_7h3*S@l7!'); The cipher seed is used for encrypt/decrypt strings. Change /** * A random numeric string (digits only) used to encrypt/decrypt strings. */ Configure::write('Security.cipherSeed', '7485712659625147843639846751'); A Note on mod_rewrite Occasionally new0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 2.x
*nix) might look something like this: $ chown -R www-data app/tmp If for some reason CakePHP can’t write to that directory, you’ll see warnings and uncaught exceptions that cache data cannot be written. random as you can make it: /** * A random string used in security hashing methods. */ Configure::write('Security.salt', 'pl345e-P45s_7h3*S@l7!'); The cipher seed is used for encrypt/decrypt strings. Change integer: /** * A random numeric string (digits only) used to encrypt/decrypt strings. */ Configure::write('Security.cipherSeed', '7485712659625147843639846751'); A Note on mod_rewrite Occasionally new users0 码力 | 820 页 | 2.52 MB | 1 年前3
CakePHP Cookbook 3.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 745 Interacting with Log Streams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 746 Using . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 747 Log API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . $users->find(); foreach ($query as $row) { echo $row->username; } You may notice that we didn’t have to write any code before we could start working with our data. By using conventions, CakePHP will use standard0 码力 | 967 页 | 2.80 MB | 1 年前3
CakePHP Cookbook 3.x
Configuration Creating Log Adapters Error and Exception Logging Interacting with Log Streams Using the FileLog Adapter Logging to Syslog Writing to Logs Using Levels Logging Scopes Log API Convenience Methods $users->find(); foreach ($query as $row) { echo $row->username; } You may notice that we didn’t have to write any code before we could start working with our data. By using conventions, CakePHP will use standard Check it out for tutorials, case studies, and code examples. Once you’re acquainted with CakePHP, log on and share your knowledge with the community and gain instant fame and fortune. The API https://api0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 4.x
Options Configuring Cache Fallbacks Removing Configured Cache Engines Writing to a Cache Cache::write Writing Multiple Keys at Once Atomic writes Read Through Caching Reading From a Cache Cache::read Class Debugger Outputting Values Debugger::dump Masking Data Logging With Stack Traces Debugger::log Generating Stack Traces Debugger::trace Getting an Excerpt From a File Debugger::excerpt Debugger::getType Messages Using Levels Logging Scopes Logging to Files Logging to Syslog Creating Log Engines Logging Formatters Log API Log Convenience Methods Logging Trait LogTrait Using Monolog Modelless Forms0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook 4.x
. . . . . . . . . . . . . . . 728 Creating Log Engines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 728 Log API . . . . . . . . . . . . . . . . . . . . ); foreach ($resultset as $row) { echo $row->username; } You may notice that we didn’t have to write any code before we could start working with our data. By using conventions, CakePHP will use standard Check it out for tutorials, case studies, and code examples. Once you’re acquainted with CakePHP, log on and share your knowledge with the community and gain instant fame and fortune. The API https://api0 码力 | 967 页 | 2.88 MB | 1 年前3
CakePHP Cookbook Documentation 5.xOptions Configuring Cache Fallbacks Removing Configured Cache Engines Writing to a Cache Cache::write Writing Multiple Keys at Once Atomic writes Read Through Caching Reading From a Cache Cache::read Class Debugger Outputting Values Debugger::dump Masking Data Logging With Stack Traces Debugger::log Generating Stack Traces Debugger::trace Getting an Excerpt From a File Debugger::excerpt Debugger::getType Messages Using Levels Logging Scopes Logging to Files Logging to Syslog Creating Log Engines Logging Formatters Log API Log Convenience Methods Logging Trait LogTrait Using Monolog Modelless Forms0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook Documentation 5.x. . . . . . . . . . . . . . . 620 Creating Log Engines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 620 Log API . . . . . . . . . . . . . . . . . . . . ); foreach ($resultset as $row) { echo $row->username; } You may notice that we didn’t have to write any code before we could start working with our data. By using conventions, CakePHP will use standard Check it out for tutorials, case studies, and code examples. Once you’re acquainted with CakePHP, log on and share your knowledge with the community and gain instant fame and fortune. The API https://api0 码力 | 848 页 | 2.53 MB | 1 年前3
共 8 条
- 1













